AWS Certified Developer – Associate (DVA-C02) — Question 313

A developer created an AWS Lambda function that performs a series of operations that involve multiple AWS services. The function's duration time is higher than normal. To determine the cause of the issue, the developer must investigate traffic between the services without changing the function code.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Enabling AWS X-Ray active tracing on an AWS Lambda function allows you to map and analyze downstream service calls to identify latency issues without modifying any application code. Amazon CloudWatch logs and AWS CloudTrail record execution output and API calls respectively, but they do not provide the end-to-end service-to-service latency visualization that X-Ray offers. AWS Config is designed for tracking resource configurations and compliance rather than troubleshooting performance bottlenecks.