AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 373

A company has deployed a microservices-based application on Amazon Elastic Container Service (Amazon ECS). The application is experiencing performance issues. The company needs to identify which microservices are causing the issues.

Which solution will provide this information?

Answer options

Correct answer: B

Explanation

AWS X-Ray is designed specifically for tracing and analyzing distributed microservices applications, offering a service map and trace filters to easily isolate latency and error bottlenecks. While Amazon CloudWatch Container Insights (Options C and D) provides infrastructure-level metrics and performance logs, it does not trace end-to-end request paths across microservices as effectively as X-Ray. Option B is the most efficient and standard way to locate the issues without the unnecessary overhead of creating custom subsegments and groups for every microservice as suggested in Option A.