D4: Tracing with AWS X-Ray
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
What is AWS X-Ray?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Tracing with AWS X-Ray practice questions and answers
- What is AWS X-Ray?Distributed tracing showing request flow, latency and errors across services (service map).
- Enable X-Ray on Lambda?Turn on active tracing and grant xray:PutTraceSegments; use SDK to trace downstream calls.
- X-Ray daemon?Relays segment data to X-Ray API on EC2/ECS (runs as sidecar).
- Annotations vs metadata?Annotations: indexed key-value pairs for filtering traces. Metadata: non-indexed extra data.
- Segments vs subsegments?Segment: work by one service. Subsegment: finer details like downstream calls.
- Sampling rules?Control percentage of requests traced to manage cost (default 1 req/s + 5%).
- X-Ray filter expressions?Search traces by annotation, latency, status, e.g. annotation.customer="123".
- AWS Distro for OpenTelemetry (ADOT)?OpenTelemetry-based collection of traces/metrics sent to X-Ray/CloudWatch.
- Tracing API Gateway?Enable X-Ray tracing on the stage.
- Scenario: find traces for a specific customer ID. Feature?X-Ray annotations with filter expression.