MLA-C01 Question 404
Select 3You are managing a serverless application that uses AWS Lambda functions to process real-time data. Recently, users have reported increased latency in the application. To identify the root cause, you need to monitor the performance and troubleshoot latency issues. Which tools should you use to achieve this?
- A
AWS X-Ray to trace and analyze the end-to-end latency in your application
- B
Amazon CloudWatch Lambda Insights to monitor the performance metrics of your Lambda functions
- C
AWS Trusted Advisor to assess the cost optimization of your Lambda functions
- D
Amazon CloudWatch Logs Insights to query logs for error patterns and latency spikes
- E
AWS Config to track configuration changes in your Lambda functions
Show answer and explanation
Correct answers: A, B, D
Explanation
To troubleshoot latency and performance issues in a Lambda-based application, you need tools that provide tracing, performance metrics, and log analysis. AWS X-Ray is suitable for tracing and discovering latency bottlenecks. Amazon CloudWatch Lambda Insights provides detailed performance metrics for Lambda functions, and Amazon CloudWatch Logs Insights enables querying and analyzing logs for patterns and errors. AWS Trusted Advisor and AWS Config are not relevant for troubleshooting latency directly.
- A. Correct.
Correct. AWS X-Ray helps you trace requests as they move through your application, allowing you to identify bottlenecks and analyze latency in a distributed system.
- B. Correct.
Correct. Amazon CloudWatch Lambda Insights provides detailed performance monitoring and metrics for your Lambda functions, useful for troubleshooting issues like increased latency.
- C. Incorrect.
Incorrect. AWS Trusted Advisor focuses on cost optimization, security, performance, and fault tolerance but does not provide tools for directly troubleshooting latency issues in Lambda applications.
- D. Correct.
Correct. Amazon CloudWatch Logs Insights allows you to query and analyze logs, helping you identify error patterns and latency spikes in your Lambda functions.
- E. Incorrect.
Incorrect. AWS Config tracks configuration changes and compliance but does not provide monitoring or observability tools for troubleshooting latency and performance issues.