AWS Certified Developer – Associate — Question 44

A microservices application is deployed across multiple containers in Amazon Elastic Container Service (Amazon ECS). To improve performance, a developer wants to capture trace information between the microservices and visualize the microservices architecture.
Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because using the amazon/aws-xray-daemon base image along with the AWS X-Ray SDK allows for effective instrumentation and tracing of requests across microservices. Option B focuses on custom metrics rather than tracing, C does not provide the necessary instrumentation for microservices, and D captures API calls rather than trace data.