Recall & Review
beginner
What is horizontal scaling in system design?
Horizontal scaling means adding more machines or servers to handle increased load, instead of making one machine more powerful.
Click to reveal answer
beginner
How does horizontal scaling differ from vertical scaling?
Horizontal scaling adds more servers; vertical scaling upgrades a single server's resources like CPU or RAM.
Click to reveal answer
intermediate
Why is horizontal scaling preferred for MongoDB in large applications?
Because MongoDB supports sharding, which splits data across many servers, allowing the system to grow easily and handle more users.
Click to reveal answer
intermediate
What is sharding in MongoDB's horizontal scaling?
Sharding is dividing the database into smaller parts called shards, each on different servers, so queries and data storage are spread out.
Click to reveal answer
advanced
Name one challenge of horizontal scaling in databases.
Keeping data consistent and synchronized across many servers can be difficult and requires careful design.
Click to reveal answer
What does horizontal scaling involve?
✗ Incorrect
Horizontal scaling means adding more servers to handle more work.
In MongoDB, what feature supports horizontal scaling?
✗ Incorrect
Sharding splits data across servers, enabling horizontal scaling.
Which is a benefit of horizontal scaling?
✗ Incorrect
Adding servers helps handle more users and traffic.
What is a common challenge with horizontal scaling?
✗ Incorrect
Keeping data consistent across many servers is hard.
Vertical scaling means:
✗ Incorrect
Vertical scaling upgrades one server's resources.
Explain the concept of horizontal scaling and how MongoDB uses it.
Think about spreading work across many machines.
You got /4 concepts.
What are the main challenges when implementing horizontal scaling in a database system?
Consider what happens when data is on many servers.
You got /4 concepts.