# Threshold-Based Alerting

Threshold-based alerting detects when a monitored value meets a configured limit and triggers a response according to an alert rule.

Cloud concept. Updated 2026-11-26. Page: https://blowstack.com/tools/cloud-concepts-hub/threshold-based-alerting

> Threshold-based alerting compares a metric or a value derived from logs against a limit over a defined evaluation window. It helps teams detect conditions that require action, such as sustained errors or dwindling capacity, without continuously watching dashboards.

Practice exams covering Threshold-Based Alerting: [DVA-C03 AWS Certified Developer - Associate](https://blowstack.com/practice-exams/aws-certified-developer-associate).

## 5 key aspects of Threshold-Based Alerting

An actionable threshold alert combines a meaningful signal and boundary with deliberate timing, explicit handling of missing data and recovery, and a clear response path.

1. **Signal and scope**: Choose a metric or a value computed from a log query, then select the resources and dimensions to evaluate. Alert separately on failure domains such as regions when a fleet-wide average could hide a local problem.
2. **Threshold and comparison**: Specify the units, comparison operator, and boundary that represent an actionable condition. Use a fixed limit for a known capacity or service constraint, or a dynamic threshold where supported when departures from normal behavior are useful.
3. **Aggregation, timing, and persistence**: Set the aggregation and lookback window independently of how often the rule runs. Use a persistence requirement, where available, when a brief breach should not trigger a response.
4. **Missing data and recovery**: Decide whether missing telemetry should trigger a separate alert, leave the alert state unchanged, or be handled another way supported by the platform. Define how recovery is detected so that values hovering near the limit do not repeatedly fire and resolve the alert.
5. **Routing and response**: Route alerts by severity and ownership, and include enough context for the recipient to act. Treat notifications and automated remediation as separate choices, and test both before relying on them in production.

## Cloud services for Threshold-Based Alerting

In Azure, Azure Monitor evaluates alert rules and uses action groups to route the response. Application Insights supplies application signals such as request duration and failure counts. Log Analytics is where engineers can test a query against collected logs before using it in a scheduled rule. Standard platform metrics can also be evaluated directly without a log query.

CloudWatch and Google Cloud Monitoring provide their own rule evaluation and notification paths in their respective environments. In a multicloud deployment, teams can route alerts from each platform to a shared incident system while keeping evaluation close to the telemetry. Standardizing severity labels and ownership makes those alerts easier to triage consistently.

- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Azure Monitor alerts evaluate platform and custom metrics through metric alert rules, or query results through log search alert rules. Metric rules support static thresholds and dynamic thresholds for supported metrics, and action groups can route notifications or invoke automation.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: CloudWatch metric alarms compare a metric or metric math expression against a static threshold or, where supported, an anomaly detection band. Alarms can require a specified number of breaching data points across multiple evaluation periods and can notify through Amazon SNS when their state changes.

## What is Threshold-Based Alerting

Threshold-based alerting turns telemetry into an operational decision. A rule defines the resources to watch, the signal to measure, how to summarize it, and the comparison to make. It also defines how often to evaluate the condition and, where supported, how long the condition must hold before the alert fires. For example, a rule might evaluate every minute whether average CPU utilization over the previous five minutes is above 85 percent. That does not mean every sample was above 85 percent, nor does it mean the condition held for five consecutive evaluations. The aggregation window and the persistence requirement are separate settings.

Cloud alerting systems can evaluate both metrics and values derived from log queries. A metric rule can flag a database with less than 15 percent free storage. A log alert can run a query periodically, count failed jobs by queue, and fire when a queue exceeds the allowed count. Application telemetry can support rules for request latency, failure rate, or availability. To detect a regression limited to one region, evaluate the signal separately for each region rather than averaging it across the fleet. Choose dimensions carefully: a separate alert for every short-lived instance can create more noise than useful detail.

Choose thresholds based on what someone can act on. A fixed storage limit is easy to explain, but the right value depends on how quickly storage fills and how long it takes to add capacity. For an API, a rule might page when more than 2 percent of requests fail over ten minutes, provided at least 100 requests were observed. The minimum count prevents one failure during a quiet period from paging the team, but it can also hide a real problem on a low-traffic endpoint. A synthetic availability check can cover that gap. Where supported, a dynamic threshold can adapt to recurring traffic patterns, but unusual behavior is not necessarily harmful, so a learned boundary does not replace a known service limit.

Short windows and frequent evaluation can detect failures sooner, but make rules more sensitive to bursts and delayed data. Longer windows make alerts more stable but can delay detection or hide brief outages. Define what should happen when telemetry is missing: no data is not the same as zero errors. If telemetry loss is actionable, monitor it explicitly. To reduce repeated firing and recovery near a boundary, use a sustained condition or a separate recovery threshold where supported. Route urgent alerts to the team that can respond and include the affected scope, observed value, threshold, and a runbook link. An alert reports that a condition was met; it does not by itself diagnose the cause or repair the system.

## Threshold-Based Alerting exam questions

Real practice exam questions on Threshold-Based Alerting, with the correct answer and its explanation.

### Question 1 (DVA-C03)

**Question:**

A company runs an image-processing workload on AWS Lambda in two production accounts in the same AWS Region. The accounts are linked to a central CloudWatch monitoring account through CloudWatch cross-account observability. The applied Regional concurrency quotas are 1,000 in the first account and 2,000 in the second account. Both accounts publish a CloudWatch usage metric for this quota. The operations team must manage the alarms from the monitoring account and receive a notification when either account exceeds 75% of its own quota, even if the other account is idle. The quotas will remain fixed during the monitoring period. Which solution meets these requirements?

**Correct answer:** In the monitoring account, create one alarm for each linked account's usage metric. Set the thresholds to greater than 750 for the first account and greater than 1,500 for the second account. Configure both alarms to notify the operations team when they enter ALARM.

**Explanation:** The monitoring account can create alarms on usage metrics from linked source accounts. The thresholds are 75% of the respective applied quotas, so either account can trigger a notification independently.

## Practice Threshold-Based Alerting in a full exam

Questions on Threshold-Based Alerting in each practice exam, with every answer option and an explanation for each:

- [DVA-C03](https://blowstack.com/practice-exams/aws-certified-developer-associate): 4 questions

## Learn Threshold-Based Alerting in lessons

2 short lessons on Threshold-Based Alerting in 1 certification course.

- DVA-C03: Alert Routing vs. Threshold-Based Alerting (Premium), https://app.blowstack.com/lessons/alert-routing-vs-threshold-based-alerting-dva-c03
- DVA-C03: Threshold-Based Alerting: Deployment health gates (Premium), https://app.blowstack.com/lessons/threshold-based-alerting-deployment-health-gates-dva-c03
