Skip to main content

Associate Cloud Engineer practice question · Ensuring the successful operation of a cloud solution

An operations team runs about 200 Compute Engine VMs, and VM Manager is already enabled on all of them.

An operations team runs about 200 Compute Engine VMs, and VM Manager is already enabled on all of them. A critical OS security update has been released. The team must apply it now, from one central place, to only the VMs labeled env=prod, and then check per-VM success or failure. What should they do?

  • ARun a VM Manager patch job with an instance filter that selects VMs labeled env=prod
  • BAdd a startup script to the prod VMs that runs the OS package manager's update command
  • CTurn on VM Manager OS inventory management for the VMs that are labeled env=prod
  • DTurn on Shielded VM integrity monitoring for each of the VMs that are labeled env=prod
Show the answer and explanation

Correct answer: A) Run a VM Manager patch job with an instance filter that selects VMs labeled env=prod

VM Manager patch jobs apply OS patches centrally to the VMs selected by an instance filter, such as a label, and report the result for each VM. Startup scripts, inventory reporting, and integrity monitoring do not apply patches on demand.

Why each option is right or wrong

  • A) Correct. A VM Manager patch job applies patches to every VM that matches its instance filter, and patching starts on all of them at the same time. You can filter by label, zone, name prefix, or instance name, and you can start the job from the console, from gcloud compute os-config patch-jobs execute, or through the API. The job reports the status of each VM.
  • B) Incorrect. A startup script runs only when a VM boots. Nothing is patched until every VM restarts, and there is no central job that tracks per-VM results.
  • C) Incorrect. OS inventory management collects and reports the installed packages and available updates. It does not install any updates.
  • D) Incorrect. Integrity monitoring checks a VM's boot integrity against a known-good baseline. It does not install OS updates.
Exam domain
Ensuring the successful operation of a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.