DVA-C02 · Question #668
A development team uses an Amazon DynamoDB table as a database for an application. The team notices errors and slowdowns in the application during peak usage hours. The slowdowns and errors occur…
The correct answer is A. Create a DynamoDB Accelerator (DAX) cluster. Update the application to send read requests to C. Reduce the frequency of write requests by using error retries and exponential backoff. Increase the provisioned throughput of the table: Boosting the table’s write capacity units raises the per-second write allowance and eliminates the throttling errors during your peak write traffic. This directly reduces write latency under load. Implement retries with…
Question
A development team uses an Amazon DynamoDB table as a database for an application. The team notices errors and slowdowns in the application during peak usage hours. The slowdowns and errors occur during a surge of user logins. The application receives frequent write requests. Application logs indicate that write requests are being throttled. The development team needs to reduce the application latency and resolve the throttling errors. Which solutions will meet these requirements? (Choose two.)
Options
- ACreate a DynamoDB Accelerator (DAX) cluster. Update the application to send read requests to
- BIncrease the provisioned throughput of the table.
- CReduce the frequency of write requests by using error retries and exponential backoff.
- DReduce control plane operations that occur during peak usage hours by consolidating the
- EChange table's capacity mode to on-demand.
How the community answered
(62 responses)- A61% (38)
- B24% (15)
- D10% (6)
- E5% (3)
Explanation
Increase the provisioned throughput of the table: Boosting the table’s write capacity units raises the per-second write allowance and eliminates the throttling errors during your peak write traffic. This directly reduces write latency under load. Implement retries with exponential backoff: By catching ProvisionedThroughputExceededException errors and retrying with exponential backoff, your application smooths out bursts of traffic and gives DynamoDB time to recover, which improves overall success rates with minimal custom code.
Community Discussion
No community discussion yet for this question.