Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Architect practice bank has 2,335 more like it. Try 10 free: instant score, no account.
An e-commerce company runs an order-processing backend on Google Compute Engine instances. The CPU utilization metric is sampled every 60 seconds. During normal operation, background memory garbage collection creates transient CPU utilization spikes of up to 90% that resolve within 45 seconds.
The operations team currently suffers from alert fatigue due to frequent false alarms triggered whenever a single measurement exceeds 85% CPU utilization. You need to configure a Cloud Monitoring metric-threshold alerting policy that ignores these transient spikes and only alerts when CPU utilization remains continuously above 85% for at least 5 minutes.
How should you configure the condition settings in Cloud Monitoring?
This configuration uses a 5-minute rolling window with no retest window and sets the Evaluation of missing data setting to EVALUATION_MISSING_DATA_ACTIVE (treating missing data points as violations of the policy condition).
0 minutes) causes any single 5-minute aligned window that exceeds the threshold to open an incident immediately.You were designing an alert for a mission-critical heartbeat daemon where both high CPU utilization and unexpected service termination (silent death where metrics stop reporting entirely) should trigger an immediate page.
This configuration sets the alignment period to a 5-minute rolling window and uses the ALIGN_MAX (max aligner) function to compute the single highest sample point found within the entire 5-minute block. It configures the retest window to zero (No retest), which immediately evaluates the policy on each single aligned value.
max aligner over a 5-minute rolling window means that even a single sub-minute spike of 90% CPU will cause the aligned value for that entire 5-minute window to be evaluated as 90%.ALIGN_MAX captures extreme peak values across the rolling window rather than average trends.max alignment keeps the elevated peak in the evaluated time series for 5 full minutes.The workload required immediate notification of any single hard ceiling breach (such as reaching 100% memory allocation or a critical hardware error) where even a microsecond peak constitutes a failure.
In Google Cloud Observability (Cloud Monitoring), a metric-threshold condition relies on an alignment period (rolling window), an aligner function, and a retest window (duration). The alignment period groups raw metric samples into discrete time intervals and applies a mathematical function (such as mean or max) to produce regularized time-series values. The retest window enforces a temporal duration requirement, dictating that all aligned values within that window must continuously violate the threshold before Cloud Monitoring opens an incident and dispatches notifications.

mean aligner calculates the representative average utilization over each sample window.Configuring a 1-minute alignment period alongside a 5-minute retest window directly addresses the root cause of alert fatigue. It ensures that only prolonged, severe CPU saturation triggers on-call pages while allowing self-healing, transient tasks to execute harmlessly.
This option keeps the alignment period at 1 minute and disables the retest window (0 minutes / No retest), while configuring the multi-condition trigger combiner setting to OR (Any condition is met).
OR, AND, or AND_WITH_MATCHING_RESOURCE) only apply when an alerting policy contains multiple distinct conditions (e.g., monitoring both CPU and Disk IOPS). In a single-metric policy, the combiner setting has no effect on threshold duration or false-positive suppression.The alerting policy monitored multiple separate metrics (such as CPU utilization OR memory exhaustion) across independent resources where an immediate trigger on any individual metric anomaly was desired.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated