Google Cloud Professional Cloud Security Engineer — Question 320

Your organization relies heavily on virtual machines (VMs) in Compute Engine. Due to team growth and resource demands, VM sprawl is becoming problematic. Maintaining consistent security hardening and timely package updates poses an increasing challenge. You need to centralize VM image management and automate the enforcement of security baselines throughout the virtual machine lifecycle. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because VM Manager allows for the centralized management of VM images and automates the application of patches, ensuring consistent security hardening across all VMs. Option B focuses on restricting OS and image sources which doesn't address the centralization and automation needed. Option C discusses building images and scanning them, but lacks the centralized management aspect. Option D, while useful for monitoring, does not provide a solution for enforcing security hardening throughout the VM lifecycle.