Developer Tools
CoreAWS X-Ray
Distributed tracing service for analyzing requests as they travel through supported services and instrumented application code.
Key points
- Segments and subsegments record request-path work and timing.
- Trace context must propagate across service and custom dependency boundaries.
- Annotations are indexed for filtering; metadata adds non-indexed detail.
Best-known use cases
- Locate a slow or failing hop in a distributed request.
- Correlate custom application work with supported AWS service traces.
What candidates often confuse it with
- X-Ray traces request paths; CloudWatch logs record events and metrics record time-series aggregates.
- Annotations support indexed filtering; metadata is contextual detail.
Key takeaway
Use X-Ray when the diagnostic question is where one request spent time or failed across service boundaries.
Related services
- Amazon CloudWatch
- AWS Lambda
- Amazon API Gateway
Relevant exam tasks
- D4.1 — Assist in a root cause analysis
- 4.1.2 — Interpret application metrics, logs, and traces
- 4.1.7 — Debug service integration issues in applications
- D4.2 — Instrument code for observability
- 4.2.4 — Add annotations for tracing services
- 4.2.6 — Implement tracing by using AWS services and tools