Partitioning & Sharding Fundamentals Quiz

Q1. Horizontal partitioning (dividing a table's rows across multiple servers) is commonly known as:




Q2. Which sharding strategy partitions data based on a user's geographic location (e.g., region)?




Q3. Which is a desirable property of an effective shard key?




Q4. Which of the following is an example of vertical partitioning in a database?




Q5. Range-based sharding is especially useful when:




Q6. Which of the following is a drawback of horizontal partitioning (sharding)?




Q7. What problem can occur if a timestamp or auto-incrementing ID is used as the shard key?




Q8. What is a primary benefit of using consistent hashing for distributing data among shards?




Q9. After adding a new shard to a database cluster, how is rebalancing typically accomplished?




Q10. Which technique can help mitigate the issue of a hot partition key (a key receiving a disproportionate amount of traffic)?




Q11. Which metric would best indicate that one shard is handling a disproportionate load compared to others?




Q12. How can the progress of ongoing rebalancing (such as chunk migrations or partition splits) be monitored in a sharded system?




Q13. Which statement about Amazon DynamoDB partitioning is correct?




Q14. Which is an advantage of using client-side sharding (with a shard map) over a single routing proxy?




Q15. What does the key fan-out strategy for handling hot keys involve?




system-design