AWS SAP-C02 · Question 20 · Domain 2.4: Reliability
A company is designing a serverless application using Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. The application must handle unpredictable spikes in traffic. During load testing, the API Gateway returns 504 Gateway Timeout errors, and DynamoDB returns ProvisionedThroughputExceededException errors. Which combination of actions will resolve these issues? (Select TWO)
Answer options:
Change the DynamoDB table to On-Demand capacity mode.
Increase the API Gateway timeout limit to 60 seconds.
Optimize the Lambda function code to execute faster or increase its memory allocation.
Enable API Gateway caching to reduce the load on DynamoDB.
Configure DynamoDB Auto Scaling with a target utilization of 90%.
Switch from API Gateway to an Application Load Balancer.
75 questions · hints · full answers · grading