Professional Cloud Security Engineer free question 7 / 10 · Domain 4: Managing operations
You want to apply OS updates to VMs with VM Manager Patch. Which agent is required inside the VM?
- Enable account management by the Google guest agent on the VM
- Enable the OS Login guest environment packages on the VM
- Enable the OS Config agent on the VM
- Enable log collection by the Ops Agent on the VM
Show the answer and explanation
Answer: C
Why this is correct
The documentation "How Patch works" says that to use the Patch feature you must set up the OS Config API and install the OS Config agent. The OS Config service enables patch management, and the OS Config agent applies the patches by using the update mechanism of each operating system. What is needed inside the VM is the OS Config agent, and not the Ops Agent or the account management of the guest agent.
Why the other options are wrong
"Enable log collection by the Ops Agent on the VM" … The Ops Agent collects logs and metrics. It is not the agent that runs patches.
"Enable account management by the Google guest agent on the VM" … Account management by the guest agent relates to access to the VM and the like. It does not replace the patch execution feature of OS Config.
"Enable the OS Login guest environment packages on the VM" … The OS Login related packages are used for the login integration. They are not the agent that runs VM Manager Patch.
Key point
Installing the agent does not mean the VM can reach its update source. Also check the connectivity to internal repositories and Google APIs that is needed.