Design Cost-Optimized Architectures

An application stores shopping carts accessed only by customer ID and needs millisecond responses. Traffic has unpredictable spikes separated by long idle periods; which option minimizes idle capacity costs and capacity management?

Show the answer

Correct answerB. Amazon DynamoDB with on-demand capacity

AWhy not this: Fixed provisioned capacity requires sizing for traffic and incurs capacity charges while idle.

BWhy this is right: On-demand capacity handles unpredictable key-based traffic without paying for idle provisioned throughput.

CWhy not this: Multi-AZ improves relational database availability but retains instance costs during idle periods.

DWhy not this: Read replicas add instance costs and are unnecessary for this simple key-based access pattern.

DynamoDB on-demand suits key-based access and unpredictable traffic, charging for requests without provisioned throughput capacity. Fixed provisioned capacity incurs capacity charges during idle periods and requires planning for spikes.