A set of microservices run on Amazon EC2 and the developer needs end-to-end tracing of requests across services and the ability to debug issues across the call path. What should the developer do?
Choose an answer
Tap an option to check your answer.
Correct answer: Instrument each microservice with the AWS X-Ray SDK and use X-Ray to view the service map and traces..
Why this is the answer
The correct answer is to instrument each microservice with the AWS X-Ray SDK and use X-Ray to view the service map and traces. AWS X-Ray is specifically designed for end-to-end tracing of requests across distributed applications, providing a visual service map and detailed traces that help identify performance bottlenecks and debug issues within the call path. Using Amazon CloudWatch to collect logs and metrics is essential for monitoring but does not provide end-to-end tracing across services. AWS CloudTrail records API activity and events for governance, compliance, and auditing, not for application-level tracing or debugging microservices. AWS Health provides personalized views of AWS service health and alerts, not insights into the performance or call paths of your application's microservices.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed