Your project hosts a managed instance group named mig-prod containing 10 Compute Engine VMs. Today, an alerting policy triggers a separate incident for every VM whose CPU usage exceeds 80 percent, flooding the on-call channel. You need a single incident only when the average CPU utilization of the whole group stays above 80 percent for at least five minutes. Which configuration accomplishes this goal?
Enable Cloud Monitoring autoscaling recommendation alerts for mig-prod so a single incident opens automatically when average CPU exceeds 80 percent.
Create an alerting policy on gce_instance/cpu/utilization with no cross-series reducer and group-by the instance_id label; trigger when any time series is above 0.8 for 5 minutes.
Configure an uptime check for one VM in mig-prod and set an alerting policy to fire when the check fails for 5 minutes; duplicate the policy for the remaining VMs.
Create an alerting policy on metric gce_instance/cpu/utilization filtered to mig-prod, use an alignment period of 60 s with per-series aligner ALIGN_MEAN, apply cross-series reducer REDUCE_MEAN with no group-by labels, and trigger when the value is above 0.8 for 5 minutes.
To alert on the fleet instead of on each VM you must first align the individual time-series and then reduce them into one combined series. Filtering the metric compute.googleapis.com/instance/cpu/utilization (alias gce_instance/cpu/utilization) to the MIG and setting ALIGN_MEAN with a 60-second alignment period produces one data point per VM per minute. Applying the cross-series reducer REDUCE_MEAN and leaving group-by empty collapses those per-VM points into a single average value across all 10 VMs. Setting the condition threshold to "above 0.8" with a 5-minute duration means the policy opens only one incident after the average CPU stays above 80 % for five consecutive minutes. The other options either evaluate each VM separately, rely on an uptime check that measures availability rather than CPU, or use autoscaling recommendation alerts which are not intended for real-time incident notification.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does ALIGN_MEAN do in the alerting policy setup?
Open an interactive chat with Bash
What is the function of REDUCE_MEAN in cross-series reduction?
Open an interactive chat with Bash
Why does the threshold need to be above 0.8 for 5 minutes in this case?
Open an interactive chat with Bash
What is a cross-series reducer in the context of GCP Monitoring?
Open an interactive chat with Bash
What does the `ALIGN_MEAN` alignment period do in alerting policies?
Open an interactive chat with Bash
What is the difference between per-series aligners and cross-series reducers?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .