
Answer-first summary for fast verification
Answer: Use AWS X-Ray for active tracing and analyze the function's logs.
The correct answer is A: Use AWS X-Ray for active tracing and analyze the function's logs. AWS X-Ray allows developers to trace, visualize, and debug the interactions between various AWS services. It helps identify performance bottlenecks and issues without changing the function code. By enabling X-Ray active tracing in the Lambda function, developers can gain insights into the duration and performance of each component, making it easier to diagnose the root cause of any performance issues.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer needs to diagnose performance issues in an AWS Lambda function interacting with multiple AWS services, without altering the code. What approach should be taken to trace the service interactions and identify the cause?
A
Use AWS X-Ray for active tracing and analyze the function's logs.
B
Utilize AWS CloudTrail to examine the logs related to the Lambda function.
C
Inspect AWS Config logs within Amazon CloudWatch.
D
Examine the logs in Amazon CloudWatch that are linked to the Lambda function.
No comments yet.