DVA-C02 exam dumps

DVA-C02 practice question 364 of 399

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

DVA-C02 Question 364

Single answer

You are developing a microservices-based application hosted on AWS, and you need to analyze the latency and performance of requests as they traverse multiple services. The application uses Amazon API Gateway, AWS Lambda functions, and Amazon DynamoDB. Which AWS service or feature should you use to enable distributed tracing and visualize the end-to-end flow of requests?

  1. A

    Amazon X-Ray

  2. B

    Amazon CloudWatch Logs

  3. C

    AWS CloudTrail

  4. D

    Amazon DynamoDB Streams

Show answer and explanation

Correct answer: A

Explanation

Distributed tracing requires a service that can follow the flow of requests across multiple components of your application and provide insights into latency, errors, and performance. Amazon X-Ray is purpose-built for this use case, enabling developers to trace requests end-to-end and pinpoint issues in microservices architectures. Other services like CloudWatch Logs and CloudTrail have specific use cases that do not include distributed tracing.

  • A. Correct.

    Amazon X-Ray is specifically designed for distributed tracing, allowing you to analyze and debug the flow of requests through your microservices architecture.

  • B. Incorrect.

    Amazon CloudWatch Logs is a logging service that collects and monitors log data, but it does not provide end-to-end request tracing or visualization of distributed systems.

  • C. Incorrect.

    AWS CloudTrail is used for auditing API calls and tracking changes in your AWS environment, but it is not a tool for distributed tracing or analyzing request flows.

  • D. Incorrect.

    Amazon DynamoDB Streams is used to capture changes in DynamoDB tables and trigger downstream processes, but it is unrelated to distributed tracing.

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