AWS Certified Cloud Practitioner — Question 497
A company wants to troubleshoot and debug a serverless application that is deployed in the AWS Cloud.
Which AWS service should the company use to achieve this goal?
Answer options
- A. AWS Config
- B. AWS CloudFormation
- C. AWS X-Ray
- D. AWS CloudTrail
Correct answer: C
Explanation
AWS X-Ray is specifically designed to help developers analyze, debug, and troubleshoot distributed and serverless applications by providing deep insights into request tracing and performance bottlenecks. AWS Config is used for configuration history and compliance, AWS CloudFormation manages infrastructure provisioning, and AWS CloudTrail records API calls, making them unsuitable for application-level debugging.