Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your team manages a production web application deployed on a fleet of Compute Engine virtual machine (VM) instances. Scheduled batch tasks frequently cause brief CPU spikes that last between 1 and 2 minutes before returning to normal levels.
You want to configure a Cloud Monitoring alerting policy that sends an incident notification only when a VM's sustained CPU utilization exceeds 85% for at least 10 consecutive minutes, thereby preventing false alarms from transient spikes.
How should you configure the alerting policy condition?
compute.googleapis.com/instance/cpu/utilization, set the threshold condition to "above 0.85", and configure the condition duration window to 10 minutes.Cloud Monitoring alert policies evaluate time-series metric streams against user-defined conditions. When the observed values cross a defined threshold value for a specified duration window, Cloud Monitoring opens an incident and sends notifications through designated channels.
compute.googleapis.com/instance/cpu/utilization metric represents the fractional CPU utilization of Compute Engine instances, recorded as a decimal value from 0.0 (0%) to 1.0 (100%).
0.0 to 1.0) provide standard, normalized CPU metrics across varying virtual machine configurations.Configuring a metric threshold condition with an explicit duration window directly satisfies the operational goal of identifying sustained resource exhaustion while filtering out normal short-lived background tasks.
compute.googleapis.com/instance/cpu/utilization, set the threshold condition to "above 85", and set the re-test window to "most recent value".This option attempts to evaluate the Compute Engine CPU utilization metric using an integer threshold of 85 and configures the condition to trigger immediately upon evaluating the most recent value without any time window buffer.
instance/cpu/utilization is a normalized gauge metric with values ranging between 0.0 and 1.0. A threshold set to 85 would require 8,500% utilization, which is physically impossible and means the alert would never trigger.The metric measured an integer count (such as active connection count or disk queue length) and the team required immediate alerting upon a single sample crossing the threshold.
Cloud Monitoring Uptime Checks test the external availability of public or private services by sending periodic HTTP, HTTPS, or TCP requests from multiple geographic locations.
200 OK). It does not measure internal server performance metrics like CPU utilization, memory usage, or disk I/O.The objective was to verify that the public web server endpoint is reachable over the internet and responding within acceptable latency limits.
resource.type="gce_instance" with severity WARNING across a 10-minute aggregation period.Logs-based alerting parses incoming log entries in Cloud Logging to identify specific error messages, status codes, or audit events, triggering notifications when matching log counts exceed a defined rate.
WARNING log entry in syslog or Cloud Logging.The requirement was to alert when specific error messages, kernel panics, or application warning events appeared in instance log files with a sustained frequency.
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