Design High-Performing Architectures

A DynamoDB table stores events using customer ID as its partition key and timestamp as its sort key. One customer's sustained writes exceed a single partition's capacity despite sufficient table capacity; events must remain queryable by customer and time range. Which design BEST addresses this bottleneck?

Show the answer

Correct answerB. Add random suffixes to customer keys and query across suffixes

AWhy not this: On-demand capacity scales table throughput but does not remove a hot partition's throughput limit.

BWhy this is right: Suffixes distribute writes across partition key values while fan-out queries preserve customer-and-time access.

CWhy not this: DynamoDB Accelerator caches reads; it does not resolve concentrated write throughput.

DWhy not this: An index does not redistribute writes to the base table's hot partition key.

Write sharding distributes one customer's events across multiple partition key values; queries retrieve and merge results across those values. On-demand capacity does not eliminate a single partition's throughput limit.