A developer must diagnose performance problems in production for distributed applications implemented with AWS Lambda functions that invoke other components. What is the best way to identify and troubleshoot the root cause in production?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable AWS X-Ray and inspect the traces, segments, and recorded errors to find the bottleneck..
Why this is the answer
AWS X-Ray is specifically designed for analyzing and debugging distributed applications, making it the best choice here. It provides end-to-end tracing, allowing you to visualize the entire request flow through your Lambda functions and other AWS services. This helps identify bottlenecks, latency issues, and errors across different components. Adding more logging to Lambda functions and analyzing CloudWatch logs can provide some insights, but it's often difficult to correlate logs across multiple services to understand the full request path and pinpoint the root cause of distributed performance issues. AWS CloudTrail records API activity, which is useful for security auditing and compliance, but not for diagnosing application performance bottlenecks. Amazon Inspector is a security assessment service, not a performance monitoring tool for Lambda functions; it's used for identifying security vulnerabilities.
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