Users report sporadic slowness in an application built from API Gateway, Lambda and DynamoDB. The engineers need to see how much time each component adds to an individual request. Which AWS service should they adopt?
Show answer and explanation
Answer: C
AWS X-Ray traces individual requests as they pass through services and records the latency of each segment, including API Gateway, Lambda and DynamoDB calls. Its service map shows where time is spent and where errors occur across the chain. Macie discovers sensitive data in S3, Budgets tracks spend against thresholds, and QuickSight is a visualization tool for business data. None of those show per-request timing across components, which is what the engineers need to locate intermittent delays.
Why the other options are wrong
- A. Macie is a data security service that classifies sensitive information in S3. It does not measure request timing or the latency of individual components.
- B. Budgets compares spend with thresholds and sends alerts. Cost alarms say nothing about where a single request spends its time during an intermittent slowdown.
- D. QuickSight charts datasets for people to analyze. It does not follow individual requests through the system, so it cannot pinpoint which hop is slow.