DVA-C02 Question 353
Select 3Your team has implemented AWS X-Ray in a microservices-based application running on Amazon ECS. After deploying a new feature, you notice increased latency in the application. To identify the root cause, you decide to analyze the service map in X-Ray. Which of the following insights can you derive directly from the X-Ray service map?
- A
The latency between individual services in the application
- B
The number of requests being served by each service
- C
Detailed error stack traces for failed requests
- D
The upstream and downstream dependencies of each service
- E
The CPU and memory utilization of ECS tasks
Show answer and explanation
Correct answers: A, B, D
Explanation
The AWS X-Ray service map is a visualization tool that provides an overview of the service architecture in your application. It highlights key metrics such as latency, request counts, and upstream/downstream dependencies between services. This helps developers quickly identify performance bottlenecks and understand the flow of requests across the system. However, for detailed error stack traces or infrastructure metrics, other tools or deeper trace analysis are required.
- A. Correct.
Correct: The X-Ray service map provides latency information between individual services, helping developers identify where delays occur.
- B. Correct.
Correct: The X-Ray service map shows the number of requests each service is processing, which is helpful for analyzing traffic patterns.
- C. Incorrect.
Incorrect: While X-Ray can capture error information, detailed stack traces are available in individual traces, not directly on the service map.
- D. Correct.
Correct: The X-Ray service map visualizes upstream and downstream dependencies, allowing developers to understand service interactions.
- E. Incorrect.
Incorrect: X-Ray does not provide infrastructure-level metrics like CPU or memory utilization; such data would be available in tools like Amazon CloudWatch.