Google Cloud Professional Cloud Architect — Question 194
You are managing a few hundred Ubuntu and Red Hat Enterprise Linux virtual machines running on Google Compute Engine (GCE). You need to patch the operating systems for those VMs periodically in a secure and scalable way. What should you do?
Answer options
- A. Create a Cloud Scheduler job to run a Bash script that securely connects to each VM and applies the patches.
- B. Configure Config Sync, and install the Ops Agent on each VM. Schedule a patch job to apply patches on each VM.
- C. Schedule a Cloud Build job, and use Cloud Deploy to run a patch job that applies patches on each VM.
- D. Set up VM Manager, and install the OS Config agent on each VM. Schedule a patch job to apply patches on each VM.
Correct answer: D
Explanation
The correct answer is D because VM Manager combined with the OS Config agent provides a centralized way to manage and schedule patching across multiple VMs, ensuring security and compliance. Options A, B, and C lack the comprehensive management capabilities that VM Manager offers for scalable patch management.