Associate Cloud Engineer ยท Monitoring and alerting
Cloud Monitoring alerting policies
Metrics scopes, alerting policies on resource metrics, conditions, duration, notification channels, incidents.
Key points
- A policy holds one or more conditions (metric-threshold, metric-absence or forecast), a retest window that must be violated continuously, and notification channels.
- When a condition is met an alert opens and every channel of the policy is notified.
- Data comes from the projects in the metrics scope.
Source: https://docs.cloud.google.com/monitoring/alerts/concepts-indepth
Practice questions
Which part of an alerting policy decides who gets told when a condition is met?
- The retest window
- The notification channels
- The metric filter
- The aggregation alignment period
Show answer
Answer: B. The notification channels
Notification channels (email, chat, paging and so on) are attached to the policy. The condition only decides when to fire; the retest window only delays it.
Which statements about alerting policies are accurate?
- A policy can contain up to six conditions
- Notifications go to all channels of the policy
- Only one alert stays open per time series in a policy
- Each notification can target just one chosen channel
- A disabled policy still opens alerts but stays silent
Show answer
Answer: A. A policy can contain up to six conditions, B. Notifications go to all channels of the policy, C. Only one alert stays open per time series in a policy
A policy can hold up to six conditions, notifies all of its channels, and keeps one open alert per time series. You cannot pick a single channel per notification, and disabled policies open no alerts.
With a 10-minute retest window on a threshold condition, one single data point above the threshold is enough to open an alert.
Show answer
Answer: False
False. Every aligned measurement in the window must violate the threshold; any non-violating point resets the timer.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
