Ultimate access to all questions.
A company's web application, which utilizes Amazon API Gateway, AWS Lambda, and Amazon DynamoDB, has experienced a surge in demand due to a recent marketing campaign. Monitoring tools have detected a substantial increase in response times for many requests compared to before the campaign. The solutions architect has activated Amazon CloudWatch Logs for API Gateway and observed that 20% of the requests are encountering errors. In CloudWatch, the Lambda function's Throttles metric shows 1% of requests are being throttled, and the Errors metric indicates that 10% of requests are failing. Application logs reveal that these errors are associated with calls to DynamoDB. To enhance the application's response times as demand continues to grow, what adjustment should the solutions architect implement?
Explanation:
The correct answer is B. Implement DynamoDB auto-scaling on the table. The errors and latency are most likely due to the increased load from the marketing campaign, which may be overwhelming the current read/write capacity of the DynamoDB table. DynamoDB auto-scaling can dynamically adjust the provisioned throughput capacity to handle the increased demand, improving response times and reducing the number of errors related to calling the DynamoDB table.