SAA-C03 Question 216
Single answerA company has a microservices-based application running on Amazon ECS with multiple services communicating via REST APIs. The development team is experiencing difficulties debugging latency issues and understanding the dependencies between services. Which service should you recommend to gain better visibility into the application's performance and identify bottlenecks?
- A
Amazon CloudWatch Logs
- B
AWS X-Ray
- C
Amazon CloudTrail
- D
AWS Trusted Advisor
Show answer and explanation
Correct answer: B
Explanation
AWS X-Ray is specifically designed to provide end-to-end tracing for applications, enabling developers to visualize service dependencies, trace requests, and identify bottlenecks in distributed systems like microservices. This makes it the ideal choice for debugging latency issues and improving workload visibility in the given scenario.
- A. Incorrect.
Amazon CloudWatch Logs can help monitor application logs and detect errors, but it does not provide insights into service dependencies or trace requests across microservices.
- B. Correct.
AWS X-Ray is designed for tracing requests across distributed applications, such as microservices architectures, and identifying latency issues and dependencies between services.
- C. Incorrect.
Amazon CloudTrail is primarily used for auditing API activity and tracking changes in your AWS account, but it does not provide detailed visibility into application-level performance.
- D. Incorrect.
AWS Trusted Advisor provides recommendations for cost optimization, performance, and security but does not offer tracing or application performance monitoring capabilities.