AWS Certified Developer – Associate — Question 335

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

Utilizing the AWS SDKs for DynamoDB is highly cost-effective because the SDKs automatically implement retry logic and exponential backoff for transient errors like ProvisionedThroughputExceededException. If direct REST API calls must be kept, manually implementing exponential backoff in the application code is another zero-cost way to handle temporary spikes. Options C, D, and E introduce additional AWS infrastructure costs, making them less cost-effective solutions for handling transient throughput issues.