AWS Certified Developer – Associate — Question 324
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
- A. CacheHitCount
- B. IntegrationLatency
- C. CacheMissCount
- D. Latency
- E. Count
Correct answer: B, D
Explanation
IntegrationLatency measures the time elapsed between when API Gateway forwards a request to the backend and when it receives a response, while Latency measures the total time from when API Gateway receives a request to when it returns a response. Comparing these two metrics helps isolate whether the delay is within the backend integration itself or API Gateway overhead. Metrics like CacheHitCount, CacheMissCount, and Count only track request volumes and cache performance, not execution duration.