Bird
0
0

After adding shard IDs to your partition keys for write sharding, some partitions still experience throttling. What is the most probable reason?

medium📝 Debug Q6 of 15
DynamoDB - Access Patterns and Query Optimization
After adding shard IDs to your partition keys for write sharding, some partitions still experience throttling. What is the most probable reason?
AThe table lacks a global secondary index
BShard IDs are not included in the sort key
CReads are causing the throttling, not writes
DShard ID range is too small, causing uneven write distribution
Step-by-Step Solution
Solution:
  1. Step 1: Understand shard ID impact

    If shard ID range is small, writes concentrate on few shards.
  2. Step 2: Effect on throttling

    Uneven distribution leads to hot partitions and throttling despite sharding.
  3. Final Answer:

    Shard ID range is too small, causing uneven write distribution -> Option D
  4. Quick Check:

    Insufficient shards cause hot partitions [OK]
Quick Trick: Too few shards cause uneven load [OK]
Common Mistakes:
MISTAKES
  • Confusing read throttling with write throttling
  • Thinking sort key affects write distribution
  • Assuming indexes affect write throttling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes