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 organization operates a fleet of Compute Engine virtual machines (VMs) running both Windows and Linux in Google Cloud. You need to establish an automated patch management strategy that applies operating system security updates to a specific subset of VMs on a recurring weekly schedule.
What should you do?
VM Manager is a centralized suite of tools within Google Cloud designed to manage operating systems across large fleets of Compute Engine virtual machines (VMs). The Patch service within VM Manager allows administrators to automate operating system maintenance through patch deployments and patch jobs.
recurringSchedule (e.g., frequency: WEEKLY), VM Manager automatically executes patching tasks at the designated day and time without requiring manual administrative intervention.instanceFilter configuration allows administrators to precisely target VMs based on criteria such as zones, instance name prefixes, or labels, ensuring only the required systems are patched during the maintenance window.apt, yum, or zypper) and Windows (using Windows Update Service), eliminating the need for separate toolchains.ALWAYS, NEVER, or DEFAULT when required by updates).Using VM Manager patch deployments provides a native, managed, and scalable mechanism for OS vulnerability remediation. It avoids the operational burden, custom maintenance scripts, and security risks associated with building bespoke patching workflows.
Startup scripts are custom scripts specified in Compute Engine instance metadata (or project-wide metadata) that execute automatically when a virtual machine boots or restarts.
The requirement were to perform one-time initial software configuration or package installation when spinning up newly provisioned Compute Engine instances.
While startup scripts are useful for instance initialization, scheduled maintenance and OS vulnerability management should be handled through VM Manager patch deployments.
This approach uses Cloud Scheduler to publish cron triggers to a Cloud Function, which then establishes individual SSH or WinRM remote management connections to virtual machines to run native update commands (such as apt-get upgrade or yum update).
You were operating in an unsupported third-party environment without native cloud patch management capabilities, or if you needed custom orchestration completely outside the Compute Engine control plane.
Using native VM Manager patch deployments removes the need for custom orchestration code and provides integrated IAM-based security without managing external SSH keys.
OS inventory management is a service component of the VM Manager suite used to discover, collect, and inspect operating system data across Compute Engine instances. It gathers critical system metadata, such as installed packages, kernel versions, active network interfaces, and available package updates.
WEEKLY), or automated reboot workflows.The objective were simply to audit installed packages, view patch compliance reports, or collect operating system configuration metadata across Compute Engine VMs without automatically applying updates.
OS inventory management works in tandem with the Patch service by providing the vulnerability and package telemetry needed to determine which systems require patch deployments.
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