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 enterprise runs a critical web application on Compute Engine instances distributed across multiple zones, consisting of both Debian Linux and Windows Server virtual machines (VMs). To maintain compliance and patch vulnerabilities, the security team requires an automated patching solution that satisfies these criteria:
Which solution should you implement to satisfy these requirements?
Managed Instance Group (MIG) rolling updates allow Compute Engine to gradually update VM instances in a MIG to a new instance template. The update policy controls parameters such as maxSurge, maxUnavailable, and rollout pacing across regional or zonal instance groups.
selective update) means Compute Engine does not automatically apply updates; instead, the administrator must manually target instances or wait for instances to be recreated.apt security packages or KB security updates) across mixed Debian and Windows VMs.The entire workload were stateless applications running in Managed Instance Groups where the standard patching model is rolling out a newly baked golden machine image.
VM Manager OS policies provide declarative configuration management to maintain VMs in a desired state. They can install, remove, and validate software packages or execute custom validation and enforcement scripts across instances matching specific labels or OS types.
concurrent-zones would update all zones simultaneously rather than staging zone-by-zone.CRITICAL, SECURITY) or native distribution upgrade logic built into the VM Manager Patch service; you would have to write complex custom package definitions and scripting from scratch.The objective was to ensure a continuous desired configuration baseline (such as enforcing that the Cloud Ops Agent is always running and configured identically) rather than managing scheduled, multi-OS vulnerability patch rollouts.
Using Cloud Scheduler to trigger a Cloud Function that calls Google Cloud CLI or REST APIs is a common serverless pattern for custom operational automation in Google Cloud.
concurrent-zones applies updates across all zones simultaneously, violating the requirement to roll out zone-by-zone to minimize blast radius.VM Manager lacked native scheduling capabilities and the architecture required triggering custom API workflows across non-standard external event triggers.
VM Manager Patch deployments are part of the Google Cloud Compute Engine VM Manager suite. They allow administrators to automate and schedule operating system patch jobs across large, heterogeneous fleets of Windows and Linux VMs. Patch deployments enable fine-grained control over which packages to update, reboot configurations, execution scripts, and rollout velocity.
--apt-dist or apt package rules for Debian, and CRITICAL and SECURITY update classifications for Windows (windowsUpdate).zone-by-zone with a disruption budget of 20% limits concurrent patching and reboots to at most 20% of VMs in a zone at any given moment.zone-by-zone rollout, if failed patching operations exceed the defined disruption budget in the active zone, the patch deployment automatically halts before proceeding to subsequent zones.ExecStepConfig (or pre-patch/post-patch script settings in the Cloud Console/CLI), custom scripts can be retrieved locally or from Cloud Storage buckets to take backups before patching and verify health post-reboot.
apt, yum, zypper, Windows Update) selectively.DEFAULT, ALWAYS, NEVER), and post-scripts in an orchestrated workflow.This solution uses native Google Cloud patching automation specifically built for multi-OS VM fleets. It natively enforces rollout safety constraints like disruption budgets and zone-by-zone staging without needing custom orchestrator pipelines or third-party patch software.
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