One citizen checkout spans API Gateway, Lambda, Step Functions, and DynamoDB, and support needs to see which hop failed. Which approach best finds the failing step?
Select an answer to reveal the explanation.
Short Explanation
One citizen click hops four services—following it by gut feel is a scavenger hunt. X-Ray distributed tracing stitches that path so you see which hop actually failed.
Full Explanation
AWS X-Ray provides distributed tracing so a single checkout request can be followed across API Gateway, Lambda, Step Functions, and DynamoDB. Service maps and trace segments show where latency or faults occur. Cost Explorer, console browsing, and unrelated S3 access logs do not substitute for end-to-end request tracing.