AWS Reliability Interview Questions: CloudWatch Alarms, Metrics and Recovery

Reviewed by Mark Dickie · Last updated

6 questions on this page you can answer and see marked on the spot. Go to the first one

AWS reliability with CloudWatch is the practice of spotting failures from metrics, logs, and alarms, then letting AWS act on them without waiting for a person. Interviewers usually check three things: whether you can pick the right signal for a symptom, whether you can set an alarm that does not flap, and whether you can wire that alarm to a fix such as Auto Scaling or a failover. Expect questions on alarm states, evaluation periods, and how CloudWatch differs from CloudTrail and X-Ray.

Which CloudWatch skills does an AWS reliability interview test?

FeatureWhat it doesWhat interviewers probe
Metric alarmMoves between OK, ALARM, and INSUFFICIENT_DATA based on one metricWhy an alarm sits in INSUFFICIENT_DATA after a deploy, and how the missing-data setting changes that
Evaluation periods and datapoints to alarmRequires several breaching periods before the state changesHow you stop one slow request from paging someone at 3 a.m.
Composite alarmCombines child alarms with AND and OR logicHow you page once for "checkout is down" instead of once per failing instance alarm
Metric mathDerives a new series from existing metrics, such as an error ratioWhy alarming on raw error count misleads when traffic drops to nearly zero
Auto Scaling policiesScale on CloudWatch metrics, including target trackingWhy target tracking on CPU lags behind a growing SQS queue, and when a custom metric fits better
EventBridge alarm eventsRoutes alarm state changes to Lambda, SSM Automation, or SNSHow you restart a failed service with no human in the loop, and what stops it looping
Synthetics canariesRun scripted checks against an endpoint on a scheduleHow a canary catches an expired certificate or broken DNS that instance metrics never show
Logs InsightsQueries log groups with a purpose-built query languageFinding the error spike that a metric average hides

Work through this exercise before the quiz:

  1. Put an Application Load Balancer in front of two instances, then create an alarm on UnHealthyHostCount for the target group.
  2. Break the health check path on one instance, confirm the alarm reaches ALARM, then fix it and confirm the return to OK.
  3. Add a second alarm on TargetResponseTime and combine both into a composite alarm that pages once.
  4. Send the composite alarm's state change through EventBridge to an SNS topic, and read the payload you receive.

Key facts

  • Tarmac has 14 AWS interview questions on this topic, 10 of them on this page, at difficulty 1–5 of 5.
  • Tarmac tracked 2,755 job postings asking for AWS in November 2026.
  • Roles asking for AWS advertise a median base salary of £80,000, across 1,117 job postings as of November 2026.
  • Tarmac last reviewed these AWS interview questions on 3 December 2026.

At a glance

Questions10 shown · 14 in the bank
Difficulty1–5 of 5
FormatsMultiple choice, Ordering, Fill in the blank, Design exercise, True / false, Short answer, Multiple answer, Flashcard

What you'll review

  1. cloudwatch

Practice questions

Try one before you open the answer. Pick an option and press Check; it's marked on the spot.

You want to be notified automatically when an Amazon EC2 instance's CPUUtilization metric stays above 80% for 3 consecutive 5-minute periods. Which CloudWatch capability should you configure?#

Options

Show answer

A CloudWatch alarm on the metric is what notifies you when a metric like EC2 CPUUtilization stays above a threshold. You set the threshold, the period, and the number of evaluation periods, and the alarm can notify through Amazon SNS. CloudTrail, AWS Config, and X-Ray serve different purposes.

Why:

A CloudWatch alarm watches a single metric, compares it to a threshold over a set number of evaluation periods, and changes state (for example to ALARM) when the condition is met, which can then trigger notifications through Amazon SNS. CloudTrail records API activity, AWS Config records resource configuration history, and X-Ray traces application requests. None of those monitor a metric against a threshold, so the CloudWatch alarm is the correct choice.

Put these steps of a CloudWatch alarm's lifecycle for a custom metric into the order in which they happen, from first to last.#

Put these in order

Show answer

The order is: the application publishes a custom metric data point, the alarm evaluates that data over its evaluation periods, the alarm state changes to ALARM, and then the alarm action sends a notification to an SNS topic. An alarm can only act on metric data that has already been published, and its state changes only after evaluation finds the threshold breached.

Why:

A metric data point must exist before any alarm can evaluate it, so publishing comes first. The alarm then evaluates the data over its configured evaluation periods, and only when the threshold is breached for the required periods does its state move to ALARM. The state change is what triggers the configured alarm action, so the SNS notification is sent last.

Which Amazon CloudWatch feature watches a single metric and performs an action, such as sending an Amazon SNS notification, when the metric crosses a threshold you define?#

Options

Show answer

A CloudWatch alarm watches a single metric and performs actions, such as sending an Amazon SNS notification or triggering Auto Scaling, when the metric breaches a threshold you define. Dashboards only display metrics, and Logs Insights queries log data, so neither acts on thresholds by itself.

Why:

A CloudWatch alarm continuously evaluates a metric against a threshold you configure over a set number of evaluation periods. When the alarm changes state, for example to ALARM, it can run actions such as publishing to an SNS topic or triggering an Auto Scaling policy. The other choices do not do this: Logs Insights runs interactive queries against log data, a dashboard only displays metrics and graphs, and CloudTrail records API activity for auditing rather than evaluating metric thresholds.

Amazon CloudWatch alarms have three possible states: OK, ALARM, and _____. When an alarm's metric has no data points to evaluate (for example, the metric has stopped being published), the alarm enters this third state. Enter the name of this state exactly as CloudWatch spells it in its documentation.#

Show answer

Amazon CloudWatch alarms have three possible states: OK, ALARM, and INSUFFICIENT_DATA. When an alarm's metric has no data points to evaluate (for example, the metric has stopped being published), the alarm enters this third state. Enter the name of this state exactly as CloudWatch spells it in its documentation.

Why:

CloudWatch alarms have exactly three states: OK (the metric is within the defined threshold), ALARM (the metric breaches the threshold), and INSUFFICIENT_DATA (the alarm does not have enough data to determine whether the threshold was met). An alarm moves into INSUFFICIENT_DATA when the metric has no data points over the evaluation period, such as when a publishing service has stopped sending metrics. This is why a silent failure can look like missing data rather than a healthy or breached state, so engineers often configure the treatment of missing data on the alarm.

An Amazon CloudWatch alarm is evaluating a metric, but the metric has not published enough data points for the alarm to determine whether the threshold has been breached. Which alarm state does CloudWatch show in this situation?#

Options

Show answer

The INSUFFICIENT_DATA state in Amazon CloudWatch alarms means the alarm does not yet have enough metric data points to decide whether the threshold has been breached. It typically appears when an alarm is newly created, or when a metric stops publishing or has not reported yet. CloudWatch alarms have three states: OK, ALARM, and INSUFFICIENT_DATA.

Why:

CloudWatch alarms have three states: OK, ALARM, and INSUFFICIENT_DATA. The alarm enters INSUFFICIENT_DATA when the metric lacks enough data points to evaluate the threshold, which can happen right after an alarm is created, when a metric stops publishing, or when a metric has not yet reported. OK means the metric is within the threshold and ALARM means it has breached the threshold, so neither applies when there is not enough data to decide. PENDING is not a CloudWatch alarm state.

A public REST API runs on ECS Fargate behind an Application Load Balancer in us-east-1. It serves about 2,000 requests per minute and has a 99.9% monthly availability SLO. Today the only CloudWatch alarms are CPU alarms on the ECS service, and the team usually learns about outages from customer tickets. Design the CloudWatch monitoring and alerting for this service so that: (1) user-facing failures are detected within about 5 minutes, (2) on-call is paged only for conditions that need action, not for brief blips, and (3) someone is still notified if the monitored region's CloudWatch is impaired. Describe which metrics you would alarm on and why, the alarm evaluation settings (for example evaluation periods, datapoints to alarm, or missing-data handling), how alarms are routed and grouped, and how you would cover the case where monitoring itself fails.#

Show answer

I would alarm on what users feel. On the ALB, I would create a metric-math alarm on the 5XX ratio, HTTPCode_Target_5XX_Count divided by RequestCount, and a second alarm on TargetResponseTime p99 for the target group. Both use a guard so a few errors at low volume do not count: the ratio expression only evaluates when RequestCount is above a floor such as 100 per minute. For noise control, I would set EvaluationPeriods to 5 with DatapointsToAlarm to 3 (3 out of 5 minutes) and set TreatMissingData to notBreaching for the ratio so quiet periods do not raise false alarms, while keeping ECS CPU and task-count alarms as supporting signals only. Routing: critical alarms (sustained 5XX ratio above 1%, or a fast SLO burn-rate alarm) publish to an SNS topic that pages on-call through the paging tool; warnings such as latency creep or slow error-budget burn go to a ticket or chat channel. A composite alarm combines the 5XX and latency alarms with the ECS unhealthy-task alarm so one incident produces one page rather than several. For monitoring of monitoring, I would run CloudWatch Synthetics canaries that call the public health endpoint every minute from a second region and from an external monitoring provider. Their failure alarm publishes to a separate SNS topic and paging path that does not depend on us-east-1 CloudWatch. I would also add a dead-man's-switch: the canary publishes a heartbeat, and an external checker pages if the heartbeat is missing for 10 minutes, so a silent canary is treated as an incident. Canary failures are alerted separately from service failures, and when both fire the canary alarm tells on-call whether the endpoint or the monitoring is broken.

Why:

This is a design question with a weighted rubric rather than a single answer key. A strong answer grounds alerting in user-facing ALB 5XX and latency metrics, tunes evaluation (M-of-N datapoints, low-volume guard, missing-data handling) to avoid pages from brief or quiet periods, routes and groups alarms so one incident produces one actionable page, and includes an out-of-region synthetic check with an independent dead-man's-switch so a regional CloudWatch failure is still detected.

An EC2 instance running with default (basic) monitoring enabled publishes its CloudWatch metrics at 1-minute intervals, so a CloudWatch alarm with a single 1-minute evaluation period can detect a short CPU spike on that instance. True or False?#

Options

Show answer

False. EC2 instances with basic monitoring publish CloudWatch metrics such as CPUUtilization every 5 minutes, not every minute. One-minute metric resolution requires enabling detailed monitoring on the instance, which carries an additional charge.

Why:

Basic monitoring for EC2 publishes instance metrics such as CPUUtilization at 5-minute intervals, which is the default and is free. The 1-minute granularity requires detailed monitoring, which is enabled per instance and charged. Because basic monitoring only delivers one data point every 5 minutes, an alarm cannot evaluate 1-minute periods for that instance, so the statement is false.

A service publishes a custom CloudWatch metric OrdersProcessed once per minute. Its alarm is configured to enter ALARM when OrdersProcessed < 1 for 3 consecutive 1-minute periods, and it notifies an SNS topic. The publisher crashes and stops emitting datapoints entirely, but the alarm never goes to ALARM; it sits in INSUFFICIENT_DATA. Name the alarm parameter that controls how periods with no data are evaluated, and give the value you would set so that a period with no data counts as a breaching period.#

Show answer

Set the alarm's TreatMissingData parameter to breaching. With the default setting (missing), periods with no datapoints are not evaluated as breaching, so if every period is empty the alarm stays in INSUFFICIENT_DATA and never fires. Setting TreatMissingData to breaching makes each empty evaluation period count as breaching the threshold, so after 3 consecutive empty periods the alarm enters ALARM and notifies SNS.

Why:

CloudWatch alarms evaluate each period's datapoints against the threshold. The TreatMissingData parameter decides how a period with no datapoints is handled. With the default, missing, the empty periods are not treated as breaching or healthy; when every datapoint in the evaluation range is missing, the alarm moves to INSUFFICIENT_DATA, even if data arrived earlier, which is exactly what happened when the publisher crashed. breaching treats each empty period as a threshold breach, notBreaching treats it as healthy, and ignore leaves the alarm state unchanged while data is missing. Because the publisher has stopped entirely, every evaluation period is empty, so only the breaching setting drives the alarm into ALARM after the required 3 periods. This is the standard pattern for detecting a silent or dead producer.

Which of the following statements about Amazon CloudWatch metric alarms are true? Select all that apply.#

Options

Pick every one that applies.

Show answer

The true statements are that a CloudWatch alarm with 3 of 5 evaluation periods goes into ALARM when at least 3 of the last 5 datapoints breach, and that high-resolution custom metrics can be alarmed with a 10-second period. Setting missing-data handling to ignore keeps the current alarm state, and standard-resolution metrics require periods that are multiples of 60 seconds.

Why:

CloudWatch supports M-out-of-N evaluation: DatapointsToAlarm (M) of EvaluationPeriods (N) datapoints must breach for the alarm to go to ALARM, so 3 of the last 5 is valid. High-resolution custom metrics can be alarmed with 10- or 30-second periods (or multiples of 60 seconds). The ignore missing-data option does the opposite of moving to INSUFFICIENT_DATA: it keeps the alarm in its current state while data is absent. Standard-resolution metrics have one-minute granularity, so their alarm periods must be multiples of 60 seconds, not 10.

A CloudWatch metric alarm watches a metric that legitimately publishes no datapoints for long stretches during scheduled maintenance. You want the alarm to hold whatever state it was already in while the data is absent, rather than being forced into ALARM, OK, or INSUFFICIENT_DATA. Which TreatMissingData value does this, and what does each of the other three values (breaching, notBreaching, missing) do when every datapoint in the evaluation window is missing?#

Show answer

Use ignore: while the datapoints are absent, the alarm keeps its current state. The other values force a state or change it: breaching treats missing data as threshold-breaching, so the alarm goes to ALARM; notBreaching treats it as within threshold, so the alarm goes to OK; missing moves the alarm to INSUFFICIENT_DATA.

Why:

CloudWatch's TreatMissingData parameter controls how an alarm evaluates evaluation windows that contain no datapoints. ignore skips evaluation for those windows and retains the existing alarm state, which is the right choice when silence is expected and not a fault. breaching and notBreaching convert missing data into a synthetic breach or non-breach, so they force ALARM or OK respectively. missing (the default behavior when not otherwise specified in the alarm) reports INSUFFICIENT_DATA when all datapoints in the window are absent. The keyed answer is ignore because the requirement is to preserve the current state during the absence of data, which only that setting does.

Related interview questions

Job market

See aws salaries and hiring demand from live job postings.

The other 4 questions

This page shows 10 and marks what you pick. That's as far as a page can go. A free account opens the other 4 and keeps every answer. What you miss comes back until it's right: after a day, then at longer gaps.

Start with this topic

Free · the whole bank · 100 answers per 30 days, each marked with written feedback

Interview booked? Practise the job ad instead

What moved, monthly

One email a month when the bulletin comes out: what moved in the markets we track, and the new question topics we published. Confirm your address to join. Unsubscribe any time.