SAP-C02 · Question #308
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. Application log indicate there is error when access to database. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.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
(21 responses)- A19% (4)
- B62% (13)
- C5% (1)
- D14% (3)
Explanation
Application log indicate there is error when access to database. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html
Community Discussion
No community discussion yet for this question.