DVA-C02 exam dumps

DVA-C02 practice question 366 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 366

Single answer

You are developing a microservices application deployed on Amazon ECS. The application consists of multiple services communicating with each other using HTTP. To debug performance issues and monitor end-to-end requests across these services, you decide to implement distributed tracing. Which AWS service or feature should you use to achieve this?

  1. A

    Amazon X-Ray

  2. B

    Amazon CloudWatch Logs

  3. C

    AWS CloudTrail

  4. D

    Amazon EventBridge

Show answer and explanation

Correct answer: A

Explanation

Distributed tracing requires a service capable of tracking requests as they pass through multiple components of an application. Amazon X-Ray is purpose-built for this use case, enabling you to visualize and debug the interactions between services in a microservices architecture. Other AWS services like CloudWatch Logs, CloudTrail, and EventBridge serve different purposes and do not provide the detailed tracing capabilities required for this scenario.

  • A. Correct.

    Amazon X-Ray is specifically designed for distributed tracing. It helps developers analyze and debug production applications by providing insights into service interactions, request latencies, and errors.

  • B. Incorrect.

    Amazon CloudWatch Logs is a logging service that helps monitor and troubleshoot application logs. However, it does not provide distributed tracing capabilities to monitor end-to-end request flows across multiple services.

  • C. Incorrect.

    AWS CloudTrail is used for auditing API calls and tracking changes in your AWS account. It is not designed for distributed tracing of application requests.

  • D. Incorrect.

    Amazon EventBridge is a serverless event bus for managing events across AWS services and applications. While it helps with event-driven architectures, it is not used for tracing requests across services.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam