ANS-C01 exam dumps

ANS-C01 practice question 109 of 513

AWS Certified Advanced Networking - Specialty. Expert level, Amazon Web Services. Free question with the correct answer and a full explanation.

ANS-C01 Question 109

Select 4

Your team has deployed a microservices-based application on Amazon ECS. The application is experiencing sporadic latency issues. You want to identify the root cause by collecting detailed metrics and logs for each microservice. Additionally, you need to set up alerts if the latency exceeds a certain threshold and visualize the metrics for quick analysis. Which combination of actions should you take to achieve this?

  1. A

    Use the CloudWatch Agent to collect detailed metrics and logs from each ECS container and push them to Amazon CloudWatch.

  2. B

    Create CloudWatch Alarms to monitor the latency metric and send notifications when the threshold is breached.

  3. C

    Enable VPC Flow Logs for the ECS cluster to capture network traffic for debugging.

  4. D

    Set up a CloudWatch Dashboard to visualize metrics like latency, CPU utilization, and memory usage for all ECS services.

  5. E

    Enable AWS X-Ray tracing on the ECS services to analyze detailed request traces and latency issues.

Show answer and explanation

Correct answers: A, B, D, E

Explanation

To address latency issues in a microservices architecture on ECS, you need application-level visibility through logs and metrics. The CloudWatch Agent enables collection of detailed metrics and logs, while CloudWatch Alarms ensure timely notifications for latency threshold breaches. A CloudWatch Dashboard provides a consolidated view of critical metrics, facilitating real-time analysis. Additionally, AWS X-Ray tracing enhances root cause analysis by providing detailed request traces. VPC Flow Logs, while useful for network-level debugging, is not directly relevant for application latency troubleshooting in this context.

  • A. Correct.

    Using the CloudWatch Agent to collect detailed metrics and logs allows you to push application and system-level metrics to CloudWatch for monitoring and analysis. This is a key step in identifying performance issues.

  • B. Correct.

    Creating CloudWatch Alarms is necessary to monitor the latency metric and notify the team when the threshold is exceeded, enabling proactive issue resolution.

  • C. Incorrect.

    While enabling VPC Flow Logs can provide network-level debugging information, it is not directly useful for pinpointing application-level latency issues in this scenario.

  • D. Correct.

    Setting up a CloudWatch Dashboard helps visualize critical metrics like latency, CPU, and memory usage, allowing for quick and effective analysis of ECS services' performance.

  • E. Correct.

    Enabling AWS X-Ray tracing can provide detailed insights into individual request traces and latency bottlenecks, making it highly relevant for identifying the root cause of latency issues in microservices.

Timed practice exam

Take a ANS-C01 practice test under exam conditions

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

Start timed exam