
Answer-first summary for fast verification
Answer: Utilize AWS X-Ray to enable insights on Lambda functions and review logs post-processing for performance issues.
The correct answer is C. By enabling AWS X-Ray for all the Lambda functions, you can configure an X-Ray insight on a group that includes all the Lambda functions. This allows you to get detailed insights into the performance of these functions. X-Ray helps you trace requests as they travel through the application and provides a visual map of services, allowing you to identify performance bottlenecks. It also helps in isolating the service where latency or errors are occurring, which is essential for diagnosing issues during high traffic periods.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In an AWS-hosted application with a static S3 website and Lambda functions triggered by API Gateway, identify the approach to find slow-performing Lambda executions during high traffic without failures.
A
Use Amazon CloudWatch Logs Insights to query across Lambda log groups, applying filters and sorting by execution duration.
B
Enable AWS CloudTrail Insights to identify anomalous Lambda functions after processing.
C
Utilize AWS X-Ray to enable insights on Lambda functions and review logs post-processing for performance issues.
D
Configure AWS Glue to process and structure Lambda logs from CloudWatch, then use CloudWatch dashboard for visual analysis of slow functions.
No comments yet.