Skip to main content
InterviewHubPRO
Section Overview
Q15

Question 15 of 50

Part 2: Intermediate Data Modeling & API Operations (Mid-Level)

30%
Amazon DynamoDB (50 Qs)•Part 2: Intermediate Data Modeling & API Operations (Mid-Level)

What are Hot Partitions in DynamoDB and how do you prevent them?

junior LevelDynamoDBHTTP & REST APIs

In Simple Words: A hot partition occurs when read or write traffic is disproportionately concentrated on a single partition key value. Each partition has a physical limit of 1,000 WCU and 3,000 RCU:

  • Causes: Keys with high skew (e.g. status = "ACTIVE", or today's date 2026-03-15).
  • Remedies:
    1. Write Sharding (Salting): Append a random suffix (e.g. EVENT#2026-03-15# + random integer 1..10) to distribute writes evenly across 10 partitions.
    2. DynamoDB Accelerator (DAX): Cache read-heavy hot keys in-memory.