SAA-C03 exam dumps

SAA-C03 practice question 217 of 553

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

SAA-C03 Question 217

Single answer

You are designing a microservices-based application running on Amazon ECS. The application is experiencing intermittent latency issues when making API calls between services. You need to identify the root cause of the latency and visualize the flow of requests across the application. Which solution should you implement?

  1. A

    Enable AWS X-Ray tracing in the ECS task definitions and use the X-Ray console to analyze traces.

  2. B

    Use Amazon CloudWatch Logs Insights to analyze application logs for latency issues.

  3. C

    Enable VPC Flow Logs to monitor network traffic patterns between ECS services.

  4. D

    Configure an Application Load Balancer (ALB) to log request and response times using ALB access logs.

Show answer and explanation

Correct answer: A

Explanation

To diagnose latency in a microservices-based application, AWS X-Ray is the ideal tool as it provides end-to-end request tracing and allows you to visualize the flow of requests across services. This is particularly important for identifying bottlenecks or performance issues in distributed applications, which cannot be achieved using logs or network-level monitoring alone.

  • A. Correct.

    This is the correct answer. AWS X-Ray is specifically designed for tracing requests across distributed applications, such as microservices, and identifying latency or bottlenecks in the flow of requests.

  • B. Incorrect.

    While CloudWatch Logs Insights can help analyze logs, it does not provide end-to-end request tracing or detailed insights into the flow of requests across services, which is crucial for identifying latency issues.

  • C. Incorrect.

    VPC Flow Logs capture network traffic metadata, but they are not suitable for tracing application requests or diagnosing latency at the application layer.

  • D. Incorrect.

    ALB access logs provide information about incoming requests and responses at the load balancer level but do not provide detailed traces across multiple microservices.

Timed practice exam

Take a SAA-C03 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