AWS Certified Developer – Associate (DVA-C02) — Question 47

A developer is building a web application that uses Amazon API Gateway to expose an AWS Lambda function to process requests from clients. During testing, the developer notices that the API Gateway times out even though the Lambda function finishes under the set time limit.
Which of the following API Gateway metrics in Amazon CloudWatch can help the developer troubleshoot the issue? (Choose two.)

Answer options

Correct answer: B, D

Explanation

The correct metrics for troubleshooting this issue are IntegrationLatency and Latency. IntegrationLatency measures the time taken for API Gateway to integrate with the backend, while Latency indicates the total time taken for the API Gateway to process the request, including integration time. The other options, CacheHitCount, CacheMissCount, and Count, do not directly provide insight into the timeout problem.