Skip to main content
InterviewHubPRO
Section Overview
Q26

Question 26 of 50

Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)

52%
Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)

What are the best practices for Primary Key design to prevent write throttling?

senior LevelSystem Design

In Simple Words:

  1. Use high-cardinality values for Partition Keys (UUIDs, User IDs, Device IDs).
  2. Avoid low-cardinality keys like status flags, boolean values, or day/month dates.
  3. If temporal data is required, prefix date with entity ID: USER#101#2026-03.
  4. Add random or calculated suffixes (sharding salt: 0..N) to hot write partitions.