AWS Certified DevOps Engineer – ProfessionalIncident and Event ResponseEasy

A global e-commerce company uses AWS Lambda functions for its serverless backend. During peak shopping seasons, the application experiences intermittent performance degradation, but the root cause is difficult to pinpoint due to the distributed nature of the microservices. The DevOps team needs a solution to aggregate logs, metrics, and traces from all Lambda functions and related services to quickly identify bottlenecks and errors. Which AWS service is best suited to meet these requirements?

  1. AAmazon EC2
  2. BAWS X-Ray
  3. CAWS CloudFormation
  4. DAmazon S3
Show answer & explanation

Correct answer: B. AWS X-Ray

AWS X-Ray provides end-to-end tracing for distributed applications, allowing the DevOps team to visualize service maps, identify performance bottlenecks, and analyze errors across various AWS services, including Lambda functions.

Why the other options are wrong

  • A. Amazon EC2 provides virtual servers, but does not inherently offer the distributed tracing capabilities needed for serverless applications.
  • C. AWS CloudFormation is an infrastructure as code service for provisioning AWS resources, not for application monitoring or tracing.
  • D. Amazon S3 is an object storage service and does not provide application performance monitoring or tracing capabilities.

AWS X-Ray

AWS X-Ray helps developers analyze and debug distributed applications by providing end-to-end tracing of requests as they flow through various services.

  • Provides a service map to visualize application components.
  • Helps identify performance bottlenecks and errors.
  • Supports various AWS services and custom applications.

Memory trick: X-Ray reveals the hidden paths of your distributed app.

More Incident and Event Response questions