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

CloudWatch Alarm Triggering Logic with Consecutive Periods and Strict Greater-Than

This DOP-C02 practice question tests your understanding of monitoring and logging. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

Exhibit

CloudWatch Alarm configuration (JSON):
{
  "AlarmName": "HighCPU",
  "AlarmDescription": "Alarm when CPU exceeds 90% for 5 minutes",
  "ActionsEnabled": true,
  "OKActions": ["arn:aws:sns:us-east-1:123456789012:MyTopic"],
  "AlarmActions": ["arn:aws:sns:us-east-1:123456789012:MyTopic"],
  "InsufficientDataActions": [],
  "MetricName": "CPUUtilization",
  "Namespace": "AWS/EC2",
  "Statistic": "Average",
  "Period": 300,
  "EvaluationPeriods": 2,
  "Threshold": 90.0,
  "ComparisonOperator": "GreaterThanThreshold"
}

Refer to the exhibit. An alarm is configured as shown. The CPU utilization averages 85% for 10 minutes, then spikes to 95% for the next 5 minutes, and returns to 80%. How many times will the SNS topic receive a notification?

Exhibit

CloudWatch Alarm configuration (JSON):
{
  "AlarmName": "HighCPU",
  "AlarmDescription": "Alarm when CPU exceeds 90% for 5 minutes",
  "ActionsEnabled": true,
  "OKActions": ["arn:aws:sns:us-east-1:123456789012:MyTopic"],
  "AlarmActions": ["arn:aws:sns:us-east-1:123456789012:MyTopic"],
  "InsufficientDataActions": [],
  "MetricName": "CPUUtilization",
  "Namespace": "AWS/EC2",
  "Statistic": "Average",
  "Period": 300,
  "EvaluationPeriods": 2,
  "Threshold": 90.0,
  "ComparisonOperator": "GreaterThanThreshold"
}

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

0

The alarm has a threshold of 85%, with strict greater-than comparison (not greater than or equal). The data shows two 5-minute periods averaging exactly 85% (which does not breach) and one period at 95% (which breaches). The alarm requires 3 consecutive breach periods to change from OK to ALARM; only 1 breach period is present. Therefore, the alarm remains in OK state and no notification is sent. The SNS topic receives 0 notifications.

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.

  • 0

    Why this is correct

    Correct; the alarm never enters ALARM state.

    Related concept

    Read the scenario before looking for a memorised answer.

  • 1

    Why it's wrong here

    Incorrect; it would need 2 consecutive high periods.

  • 2

    Why it's wrong here

    Incorrect; only one period of high CPU.

  • 3

    Why it's wrong here

    Incorrect; no alarm transition occurs.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume the alarm triggers immediately when the metric exceeds the threshold, but CloudWatch requires a specified number of consecutive evaluation periods (datapoints) to breach before changing state, and the threshold comparison is strict (greater than, not greater than or equal).

Detailed technical explanation

How to think about this question

CloudWatch alarms use a 'evaluation periods' concept where the alarm state changes only after a specified number of consecutive datapoints breach the threshold. For a 5-minute period, the alarm evaluates each datapoint; if 3 out of 3 consecutive datapoints are above 85%, it enters ALARM. The 'treat missing data as missing' default means gaps do not count as breaching. In this scenario, the 10-minute average of 85% is exactly at the threshold, which is not considered a breach (strictly greater than), so only the 95% spike counts as a breach, but it takes 3 consecutive breaches to trigger the alarm.

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.

TExam Day Tips

  • 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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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: 0 — The alarm has a threshold of 85%, with strict greater-than comparison (not greater than or equal). The data shows two 5-minute periods averaging exactly 85% (which does not breach) and one period at 95% (which breaches). The alarm requires 3 consecutive breach periods to change from OK to ALARM; only 1 breach period is present. Therefore, the alarm remains in OK state and no notification is sent. The SNS topic receives 0 notifications.

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

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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. Refer to the exhibit. The CloudWatch alarm is set on CPUUtilization. The instance's CPU at 10:00 is 75%, at 10:05 is 82%, and at 10:10 is 85%. Will the alarm trigger?

hard
  • A.Yes, because the CPU exceeded 80% at 10:05.
  • B.Yes, but only after 10:10 when two consecutive periods are above the threshold.
  • C.No, because the alarm uses Average statistic and the average over the entire time is below 80%.
  • D.No, because the first data point at 10:00 is below the threshold.

Why B: The alarm evaluates 2 consecutive periods (each 5 minutes). At 10:05, the average for that period is 82% (above 80), but the previous period (10:00) average is 75% (below 80). So only one period is breached. At 10:10, the average for that period is 85% (above 80), and the previous period (10:05) average is 82% (above 80). So two consecutive periods are breached, triggering the alarm.

Keep practising

More DOP-C02 practice questions

Last reviewed: Jul 4, 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.