Topic 1 Question 555
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?
Enable AWS X-Ray on the Lambda function. In the generated trace map, select the line between Lambda and Amazon S3.
Query the Lambda function’s log file in Amazon CloudWatch Logs Insights. Return the average of the auto-discovered @duration field.
Enable CloudWatch Lambda Insights on the function. View the latency graph that CloudWatch Lambda Insights provides.
Enable AWS X-Ray on the Lambda function. Select Amazon S3 in the latency graph to view the latency histogram.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: A
Answer should be A. As want to trace latency between a lambda and S3bucket , not an average of latency of events between them.
👍 1bp072025/01/14 - 正解だと思う選択肢: A
AWS X-Ray provides distributed tracing that helps you visualize the service map of your application. By enabling X-Ray on your Lambda function, you can trace its calls to external services—in this case, Amazon S3. In the generated trace map, clicking the connection (or line) between the Lambda function and S3 shows you detailed timing information, including the latency for the S3 calls. This makes it possible to pinpoint where delays are occurring.
👍 1LingZ2025/02/22
シャッフルモード