Q63 — AWS DVA-C02 Ch.2
Question 63 of 100 | ← Chapter 2
A company has a three-tier application that uses Amazon API Gateway, AWS Lambda, and Amazon RDS. The company wants to investigate slow response times for calls to the API Gateway API. What is the most effective way to determine which downstream call is causing the slow response time?
- A. Use Amazon CloudWatch.
- B. Use AWS X-Ray. ✓
- C. Use AWS CloudTrail.
- D. Use VPC Flow Logs.
Correct Answer: B. Use AWS X-Ray.
Explanation
AWS X-Ray is specifically designed to help developers analyze and debug distributed applications, providing insight into internal service-to-service calls—including tracing request propagation paths across services and performance metrics. For investigating slow response times from API Gateway API calls, AWS X-Ray can effectively identify which internal call contributes to latency. In contrast, Amazon CloudWatch primarily monitors resource and application metrics; AWS CloudTrail focuses on logging API calls and management operations; and VPC Flow Logs monitor network traffic. Therefore, option B is the most effective approach.