SAP-C02 · Question #686
A company has a web application that uses Amazon API Gateway. AWS Lambda, and Amazon DynamoDB. A recent marketing campaign has increased demand. Monitoring software reports that many requests have…
The correct answer is B. Implement DynamoDB auto scaling on the table. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
Question
A company has a web application that uses Amazon API Gateway. AWS Lambda, and Amazon DynamoDB. A recent marketing campaign has increased demand. Monitoring software reports that many requests have significantly longer response times than before the marketing campaign. A solutions architect enabled Amazon CloudWatch Logs for API Gateway and noticed that errors are occurring on 20% of the requests. In CloudWatch, the Lambda function Throttles metric represents 1% of the requests and the Errors metric represents 10% of the requests. Application logs indicate that, when errors occur, there is a call to DynamoDB. What change should the solutions architect make to improve the current response times as the web application becomes more popular?
Options
- AIncrease the concurrency limit of the Lambda function.
- BImplement DynamoDB auto scaling on the table.
- CIncrease the API Gateway throttle limit.
- DRe-create the DynamoDB table with a better-partitioned primary index.
How the community answered
(39 responses)- A5% (2)
- B56% (22)
- C28% (11)
- D10% (4)
Explanation
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
Community Discussion
No community discussion yet for this question.