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?
AWS CloudTrail
Amazon CloudWatch
Amazon Inspector
AWS X-Ray
Explanations:
AWS CloudTrail logs API calls made to AWS services but does not provide end-to-end tracing of requests.
Amazon CloudWatch monitors and logs application performance but lacks detailed request tracing.
Amazon Inspector assesses application security vulnerabilities, not request tracing.
AWS X-Ray traces user requests as they move through application components, providing end-to-end visibility.