AWS Certified Cloud Practitioner — Question 886

A company has a serverless application that includes an Amazon API Gateway API, an AWS Lambda function, and an Amazon DynamoDB database.
Which AWS service can the company use to trace user requests as they move through the application's components?

Answer options

Correct answer: D

Explanation

AWS X-Ray is specifically designed to trace and analyze user requests as they travel through distributed systems and serverless components like Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. AWS CloudTrail is utilized for auditing API calls, Amazon CloudWatch is used for log collection and metrics monitoring, and Amazon Inspector is a security assessment service, none of which provide end-to-end request tracing.