DVA-C02 · Question #569
A developer created several AWS Lambda functions that write data to a single Amazon S3 bucket. The developer configured all the Lambda functions to send logs and metrics to Amazon CloudWatch. The…
The correct answer is D. Enable AWS X-Ray on the Lambda function. Select Amazon S3 in the latency graph to view the. AWS X-Ray provides a detailed, service-level trace for Lambda invocations, including how long requests to external services like Amazon S3 take. Enabling X-Ray allows you to view a latency histogram that specifically shows the time taken for the Lambda function to interact with…
Question
A developer created several AWS Lambda functions that write data to a single Amazon S3 bucket. The developer configured all the Lambda functions to send logs and metrics to Amazon CloudWatch. The developer receives reports that one of the Lambda functions writes data to the bucket very slowly. The developer needs to measure the latency between the problematic Lambda function and the S3 bucket. Which solution will meet this requirement?
Options
- AEnable AWS X-Ray on the Lambda function. In the generated trace map, select the line between
- BQuery the Lambda function's log file in Amazon CloudWatch Logs Insights. Return the average of
- CEnable CloudWatch Lambda Insights on the function. View the latency graph that CloudWatch
- DEnable AWS X-Ray on the Lambda function. Select Amazon S3 in the latency graph to view the
How the community answered
(23 responses)- A4% (1)
- B17% (4)
- C4% (1)
- D74% (17)
Explanation
AWS X-Ray provides a detailed, service-level trace for Lambda invocations, including how long requests to external services like Amazon S3 take. Enabling X-Ray allows you to view a latency histogram that specifically shows the time taken for the Lambda function to interact with S3, which is exactly what the developer needs to measure.
Community Discussion
No community discussion yet for this question.