AWS Certified Developer Associate (#27)

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?

Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.
Use AWS Cloud Trail and then examine the logs
Use AWS X-Ray, then examine the segments and errors
Run Amazon Inspector agents and then analyze performance