AWS Certified Developer – Associate — Question 12
A Developer must analyze performance issues with production-distributed applications written as AWS Lambda functions. These distributed Lambda applications invoke other components that make up the applications.
How should the Developer identify and troubleshoot the root cause of the performance issues in production?
Answer options
- A. Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.
- B. Use AWS CloudTrail and then examine the logs.
- C. Use AWS X-Ray, then examine the segments and errors.
- D. Run Amazon Inspector agents and then analyze performance.
Correct answer: C
Explanation
The correct answer is C because AWS X-Ray provides detailed insights into the performance of distributed applications, allowing developers to trace requests through their Lambda functions and identify bottlenecks or errors. Option A, while useful for logging, does not provide the depth of analysis needed for troubleshooting performance. Option B focuses on auditing API calls rather than performance analysis. Option D is incorrect as Amazon Inspector is primarily for security assessments rather than performance diagnostics.