ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 49 - DVA-C02 discussion

Report
Export

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.)

A.
CacheHitCount
Answers
A.
CacheHitCount
B.
IntegrationLatency
Answers
B.
IntegrationLatency
C.
CacheMissCount
Answers
C.
CacheMissCount
D.
Latency
Answers
D.
Latency
E.
Count
Answers
E.
Count
Suggested answer: B, D

Explanation:

Amazon API Gateway is a service that enables developers to create, publish, maintain, monitor, and secure APIs at any scale. Amazon CloudWatch is a service that monitors AWS resources and applications. API Gateway provides several CloudWatch metrics to help developers troubleshoot issues with their APIs. Two of the metrics that can help the developer troubleshoot the issue of API Gateway timing out are:

IntegrationLatency: This metric measures the time between when API Gateway relays a request to the backend and when it receives a response from the backend. A high value for this metric indicates that the backend is taking too long to respond and may cause API Gateway to time out.

Latency: This metric measures the time between when API Gateway receives a request from a client and when it returns a response to the client. A high value for this metric indicates that either the integration latency is high or API Gateway is taking too long to process the request or response.

Reference:

[What Is Amazon API Gateway? - Amazon API Gateway]

[Amazon API Gateway Metrics and Dimensions - Amazon CloudWatch]

[Troubleshooting API Errors - Amazon API Gateway]

asked 16/09/2024
FELIPE VILLAGOMEZ CARDENAS VILLAGOMEZ
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first