Recall & Review
beginner
What is a chunk in MongoDB sharding?
A chunk is a contiguous range of shard key values that MongoDB uses to split data into manageable pieces for distribution across shards.
Click to reveal answer
beginner
What role does the balancer play in MongoDB?
The balancer moves chunks between shards to evenly distribute data and workload, ensuring no single shard is overloaded.
Click to reveal answer
intermediate
How does MongoDB decide when to split a chunk?
MongoDB splits a chunk when it grows beyond a configured size limit to keep data balanced and queries efficient.
Click to reveal answer
intermediate
Why is balancing important in a sharded MongoDB cluster?
Balancing prevents hotspots by distributing data evenly, which improves performance and resource use across all shards.
Click to reveal answer
advanced
What happens if the balancer is turned off in MongoDB?
Without the balancer, chunks won't move between shards, which can cause uneven data distribution and slow queries on overloaded shards.
Click to reveal answer
What is a chunk in MongoDB sharding?
✗ Incorrect
Chunks are ranges of shard key values used to split data for distribution.
What does the balancer do in a MongoDB cluster?
✗ Incorrect
The balancer moves chunks to keep data evenly spread across shards.
When does MongoDB split a chunk?
✗ Incorrect
Chunks split automatically when they grow too large.
Why is balancing data important in sharding?
✗ Incorrect
Balancing keeps workload even and improves performance.
What can happen if the balancer is disabled?
✗ Incorrect
Without balancing, some shards can get overloaded, slowing down queries.
Explain what chunks are and how they help in MongoDB sharding.
Think about how data is split to spread across servers.
You got /4 concepts.
Describe the purpose of the balancer in a MongoDB sharded cluster.
Consider what keeps the data spread out evenly.
You got /4 concepts.