Skip to main content

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

A team manages a fleet of Linux and Windows Compute Engine VMs and has enabled the OS Config agent on them.

A team manages a fleet of Linux and Windows Compute Engine VMs and has enabled the OS Config agent on them. For patch compliance tracking and asset management, they want an up-to-date, per-VM list of installed OS packages and their versions, without logging in to each VM. Which approach should they use?

  • AView the OS inventory data that VM Manager collects for each VM, in the console or with gcloud
  • BReview the history of VM Manager patch jobs and the per-instance results of each job
  • CCreate an OS policy assignment that installs the required packages on every VM
  • DInstall the Ops Agent and chart the VMs' system metrics in Cloud Monitoring
Show the answer and explanation

Correct answer: A) View the OS inventory data that VM Manager collects for each VM, in the console or with gcloud

VM Manager's OS inventory management uses the OS Config agent to collect installed OS packages and versions on each VM, and you can view the data in the console or with gcloud. Patch job results, OS policies and Ops Agent metrics don't give you a per-VM package inventory.

Why each option is right or wrong

  • A) Correct. When OS inventory management is enabled, the OS Config agent scans each VM periodically (every 10 minutes by default) and reports OS details plus installed packages from package managers such as RPM, DEB and GooGet, including name, architecture and version. You can view this data in the console or with gcloud (for example, `gcloud compute os-config inventories describe` with the full view).
  • B) Incorrect. Patch job results show whether patching succeeded or failed on each targeted instance during a deployment. They don't keep an ongoing list of every package installed on each VM.
  • C) Incorrect. OS policies enforce a desired configuration, such as making sure specific packages are present. They don't produce a complete inventory of everything installed on each VM.
  • D) Incorrect. The Ops Agent collects telemetry such as CPU, memory and disk metrics, plus logs. It doesn't report installed OS packages and their versions.
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.