DBMS & SQL · Pro · Topic 5 of 5
NoSQL, Replication & Sharding
5 questions.
Your progress0%
- 1st Visit
- 0/5
- 2nd Visit
- 0/5
- Revise
- 0/5
Overview
Relational databases are not the only option, and large systems rarely run on a single server. This topic covers how NoSQL databases differ from SQL databases, the main NoSQL families, the CAP theorem and the BASE model, and the two techniques used to scale a database beyond one machine: replication, which copies the same data to several servers, and sharding, which splits the data across servers. These questions appear in placement interviews for backend roles and often lead into system design, so connect each answer to a real product such as MongoDB, Cassandra or Redis.
Questions
| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | What is the difference between SQL and NoSQL databases? | Concept | Easy | Read the answer to What is the difference between SQL and NoSQL databases? | |||
| 2 | What are the different types of NoSQL databases? | Concept | Easy | Read the answer to What are the different types of NoSQL databases? | |||
| 3 | What is the CAP theorem? | Concept | Medium | Read the answer to What is the CAP theorem? | |||
| 4 | What is database replication, and what are its types? | Concept | Medium | Read the answer to What is database replication, and what are its types? | |||
| 5 | What is sharding, and how is it different from partitioning? | Concept | Medium | Read the answer to What is sharding, and how is it different from partitioning? |