DVA-C02 · Question #190
An application that is deployed to Amazon EC2 is using Amazon DynamoDB. The application calls the DynamoDB REST API. Periodically, the application receives a ProvisionedThroughputExceededException…
The correct answer is A. Modify the application code to perform exponential backoff when the error is received. B. Modify the application to use the AWS SDKs for DynamoDB. Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests using Error Retries and Exponential Backoff.
Question
An application that is deployed to Amazon EC2 is using Amazon DynamoDB. The application calls the DynamoDB REST API. Periodically, the application receives a ProvisionedThroughputExceededException error when the application writes to a DynamoDB table. Which solutions will mitigate this error MOST cost-effectively? (Choose two.)
Options
- AModify the application code to perform exponential backoff when the error is received.
- BModify the application to use the AWS SDKs for DynamoDB.
- CIncrease the read and write throughput of the DynamoDB table.
- DCreate a DynamoDB Accelerator (DAX) cluster for the DynamoDB table.
- ECreate a second DynamoDB table. Distribute the reads and writes between the two tables.
How the community answered
(32 responses)- A69% (22)
- C19% (6)
- D9% (3)
- E3% (1)
Explanation
Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests using Error Retries and Exponential Backoff.
Community Discussion
No community discussion yet for this question.