SAA-C03 Question 498
Single answerA company is using Amazon DynamoDB to store product catalog data. The workload involves frequent read and write operations, with occasional spikes during sales events. The team has noticed throttling errors when these spikes occur and wants to ensure consistent application performance. How should the team address capacity planning for the DynamoDB table?
- A
Switch the table to use on-demand capacity mode to handle sudden spikes automatically.
- B
Increase the provisioned read and write capacity units to handle the anticipated spikes.
- C
Enable DynamoDB Accelerator (DAX) to improve the read performance of the table.
- D
Set up an Auto Scaling policy for the table to dynamically adjust provisioned capacity based on demand.
Show answer and explanation
Correct answer: A
Explanation
On-demand capacity mode is specifically designed for use cases with unpredictable traffic patterns, as it eliminates the need to manually manage capacity or set up Auto Scaling policies. It adjusts capacity automatically to handle sudden spikes in traffic, ensuring consistent performance without throttling errors.
- A. Correct.
Switching to on-demand capacity mode is the most effective way to handle unpredictable traffic patterns, as it automatically scales capacity to accommodate spikes without requiring manual intervention.
- B. Incorrect.
Manually increasing provisioned capacity can address throttling issues, but it is not efficient for workloads with unpredictable spikes, as you may over-provision capacity when traffic is low.
- C. Incorrect.
DynamoDB Accelerator (DAX) improves read performance for applications requiring low-latency access, but it does not address write throttling or dynamic capacity adjustments.
- D. Incorrect.
Using Auto Scaling can help with dynamic demand, but it is not as immediate or seamless as on-demand capacity mode for handling sudden, unpredictable traffic spikes.