Several Lambda functions write data to the same S3 bucket. One Lambda function is reported to be writing slowly. The developer needs to measure the latency between that Lambda function and S3. Which approach provides that latency measurement?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable AWS X-Ray for the Lambda function and, in the X-Ray latency graph, select Amazon S3 to view the latency histogram..
Why this is the answer
AWS X-Ray is designed for tracing requests through distributed applications, making it ideal for measuring latency between services. By enabling X-Ray for the Lambda function, you generate traces that show the time spent in each service call, including calls to S3. The X-Ray latency graph specifically visualizes this data, and selecting S3 within that graph provides a detailed latency histogram for those S3 interactions. Enabling X-Ray and selecting the line in the trace map provides a visual representation but doesn't offer the detailed statistical analysis of a latency histogram. CloudWatch Logs Insights can show Lambda execution duration but doesn't break down the latency of external service calls like S3. CloudWatch Lambda Insights provides performance metrics for the Lambda function itself, but it doesn't offer specific latency measurements for calls to other AWS services like S3.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed