AWS Certified Developer – Associate (DVA-C02) — Question 172

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.)

Answer options

Correct answer: A, B

Explanation

Option A is correct because implementing exponential backoff allows the application to retry after a delay, reducing the chances of further throughput errors. Option B is also correct as utilizing AWS SDKs can optimize interactions with DynamoDB, automatically handling some error cases. Options C, D, and E are not the most cost-effective solutions; increasing throughput incurs higher costs, DAX adds complexity and cost, and creating another table could unnecessarily complicate management.