AWS Certified Developer – Associate (DVA-C02) — Question 157
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 in-depth insights into the performance of AWS Lambda functions by tracing requests and identifying bottlenecks. Options A and B, while helpful for basic logging and monitoring, do not offer the same level of detailed analysis as X-Ray. Option D is incorrect as Amazon Inspector is focused on security assessments rather than performance analysis.