You are configuring a Cloud Monitoring alerting policy for a managed instance group that runs a web service. Operations require that the policy fire only when the CPU utilization metric for any VM stays above 80 percent for at least five continuous minutes. Occasional one-minute spikes must not trigger an alert. Which condition setting satisfies this requirement?
Change the metric's alignment period to 5 minutes and use the max aligner so each data point reflects the highest value in that window.
Apply a reducer that averages CPU utilization across the instance group over a 5-minute window.
Set the condition's duration (For) field to 5 minutes so the threshold must be violated for that entire period before an incident is created.
Configure the notification channel to delay sending alerts for 5 minutes after the threshold is crossed.
To prevent alerts from short-lived spikes, the condition must verify that the threshold is violated for a sustained period. In Cloud Monitoring this is done with the duration (For) field of the condition. By setting it to five minutes, the metric must remain above 80 percent for the entire five-minute window before the policy opens an incident. Changing the alignment period or adding reducers and aligners manipulates how data points are computed but does not guarantee the threshold is breached for five consecutive minutes. Alert notifications have no configurable "delay" separate from the condition; they are sent as soon as the policy is triggered.
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 is the purpose of the 'duration (For) field' in Cloud Monitoring alert policies?
Open an interactive chat with Bash
What are metric alignment periods and aligners in Cloud Monitoring?
Open an interactive chat with Bash
Why are reducers and aligners not suitable for ensuring sustained threshold violations?
Open an interactive chat with Bash
What is the 'For' field in Cloud Monitoring?
Open an interactive chat with Bash
What is the difference between metric alignment and the 'duration (For)' field?
Open an interactive chat with Bash
Why shouldn't alert notifications be delayed in Cloud Monitoring?
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 .