Question 128 of 1,750
Monitoring and LogginghardMultiple ChoiceObjective-mapped

CloudWatch Container Insights High-Resolution Metrics for ECS Fargate

This DOP-C02 practice question tests your understanding of monitoring and logging. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is running a critical application on Amazon ECS with Fargate launch type. The application experiences periodic performance degradation. The DevOps team needs to set up monitoring to capture detailed metrics at a 1-second granularity. Which solution should be used?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Amazon CloudWatch Container Insights with high-resolution metrics.

Option C is correct because Amazon CloudWatch Container Insights with high-resolution metrics provides detailed, 1-second granularity metrics for ECS tasks running on Fargate. Option A is incorrect because deploying a Prometheus server on EC2 to scrape metrics from ECS tasks is more complex and not a fully managed AWS solution; it would require additional setup and does not natively provide 1-second granularity out of the box. Option B is incorrect because CloudWatch detailed monitoring is typically used for EC2 instances and provides metrics at 1-minute granularity, not 1-second; for ECS, Container Insights is the appropriate service for high-resolution metrics. Option D is incorrect because VPC Flow Logs capture network traffic metadata, not application performance metrics, and thus cannot be used to monitor performance degradation.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Deploy a Prometheus server on Amazon EC2 and scrape metrics from the ECS tasks.

    Why it's wrong here

    While possible, Prometheus is not a managed solution and requires additional overhead; Container Insights is more straightforward.

  • Enable CloudWatch detailed monitoring on the ECS service.

    Why it's wrong here

    Detailed monitoring for ECS is not available; detailed monitoring is for EC2 instances, not ECS.

  • Use Amazon CloudWatch Container Insights with high-resolution metrics.

    Why this is correct

    Container Insights can collect metrics at 1-second intervals when high-resolution mode is enabled.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Enable VPC Flow Logs and analyze the logs with Amazon Athena.

    Why it's wrong here

    VPC Flow Logs capture network information, not application performance metrics.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Detailed technical explanation

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

What to study next

Got this wrong? Here's your next step.

Identify which DOP-C02 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

Related practice questions

Related DOP-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free DOP-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this DOP-C02 question test?

Monitoring and Logging — This question tests Monitoring and Logging — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use Amazon CloudWatch Container Insights with high-resolution metrics. — Option C is correct because Amazon CloudWatch Container Insights with high-resolution metrics provides detailed, 1-second granularity metrics for ECS tasks running on Fargate. Option A is incorrect because deploying a Prometheus server on EC2 to scrape metrics from ECS tasks is more complex and not a fully managed AWS solution; it would require additional setup and does not natively provide 1-second granularity out of the box. Option B is incorrect because CloudWatch detailed monitoring is typically used for EC2 instances and provides metrics at 1-minute granularity, not 1-second; for ECS, Container Insights is the appropriate service for high-resolution metrics. Option D is incorrect because VPC Flow Logs capture network traffic metadata, not application performance metrics, and thus cannot be used to monitor performance degradation.

What should I do if I get this DOP-C02 question wrong?

Identify which DOP-C02 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on DOP-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company is running a microservices application on Amazon ECS with AWS Fargate. The operations team wants to collect and visualize metrics such as CPU, memory, and network utilization at the task level. Which TWO services should the team use to achieve this? (Choose TWO.)

hard
  • A.Amazon Managed Service for Prometheus
  • B.Amazon CloudWatch Logs
  • C.Amazon CloudWatch
  • D.AWS X-Ray
  • E.Amazon CloudWatch Container Insights

Why C: Option C (Amazon CloudWatch) and Option E (Amazon CloudWatch Container Insights) are correct. Container Insights collects metrics from ECS tasks running on Fargate, and CloudWatch stores and visualizes them via dashboards. Option A (Amazon Managed Service for Prometheus) is a monitoring service but not the standard integrated solution for ECS Fargate metrics; Container Insights is the recommended approach. Option B (Amazon CloudWatch Logs) is for logs, not metrics. Option D (AWS X-Ray) is for tracing.

Keep practising

More DOP-C02 practice questions

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DOP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DOP-C02 exam.