ANS-C01 exam dumps

ANS-C01 practice question 110 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 110

Select 4

A company has deployed a microservices-based application running on Amazon ECS with Fargate. They want to monitor resource utilization (CPU and memory usage) for individual ECS tasks and service-level metrics while also analyzing application logs for errors and performance issues. Which combination of actions will achieve this requirement?

  1. A

    Enable Amazon CloudWatch Container Insights and configure metrics collection for ECS services and tasks.

  2. B

    Use the AWS Systems Manager Agent to collect ECS task-level resource utilization metrics.

  3. C

    Configure the Amazon CloudWatch Logs agent on the application containers to stream logs to CloudWatch Logs.

  4. D

    Create CloudWatch Alarms to notify the operations team when predefined thresholds for ECS service CPU and memory usage are breached.

  5. E

    Set up CloudWatch Dashboards to visualize both ECS service-level metrics and application logs in a single interface.

Show answer and explanation

Correct answers: A, C, D, E

Explanation

To monitor ECS tasks and services effectively, you need to enable CloudWatch Container Insights for detailed metrics, configure log streaming to CloudWatch Logs for analyzing application performance, and set up CloudWatch Alarms to proactively manage thresholds. Additionally, using CloudWatch Dashboards provides a unified view of metrics and logs, enhancing operational visibility. The AWS Systems Manager Agent is not relevant for ECS resource metrics collection, making that option incorrect.

  • A. Correct.

    Correct. Amazon CloudWatch Container Insights provides detailed ECS service and task-level metrics such as CPU and memory utilization, which is essential for monitoring resource usage effectively.

  • B. Incorrect.

    Incorrect. The AWS Systems Manager Agent is not used for collecting ECS resource utilization metrics; this is handled by CloudWatch Container Insights.

  • C. Correct.

    Correct. Configuring the CloudWatch Logs agent (or equivalent log routing configuration) on the containers allows application logs to be streamed and analyzed in CloudWatch Logs.

  • D. Correct.

    Correct. CloudWatch Alarms can notify the team when specific thresholds for resource utilization are exceeded, allowing proactive response to performance issues.

  • E. Correct.

    Correct. CloudWatch Dashboards can aggregate metrics and logs into a single interface, enabling better visualization and operational visibility.

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