AWS X-Ray
Collects trace data per request and builds a trace map across services.
Official AWS Reference https://docs.aws.amazon.com/xray/latest/devguide/aws-xray.html ↗// DECISION LOGIC MATRIX
When to Choose
You must see where time is spent across API Gateway, Lambda, DynamoDB, and downstream calls.
When to Avoid
You only need to search log text. Use Logs Insights.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"X-Ray collects data about requests your application serves and provides tools to view, filter, and analyze it to identify issues and optimization opportunities."
- The trace map shows client, front-end service, and backends, used to find bottlenecks and latency spikes.
- SDKs send JSON segment documents over UDP to the X-Ray daemon, which batches uploads. The daemon ships with Elastic Beanstalk and Lambda.
// AWS X-RAY TAKEAWAYS
Role: Collects trace data per request and builds a trace map across services.
Choose: You must see where time is spent across API Gateway, Lambda, DynamoDB, and downstream calls.
Avoid: You only need to search log text. Use Logs Insights.
Trap: Watch for exam signals like security auditing, packet inspection, log aggregation.
Fact: The trace map shows client, front-end service, and backends, used to find bottlenecks and latency spikes.
Fact: SDKs send JSON segment documents over UDP to the X-Ray daemon, which batches uploads. The daemon ships with Elastic Beanstalk and Lambda.
// PRACTICE QUESTIONS
Ready to test your AWS X-Ray knowledge?
9 practice questions cover AWS X-Ray.