Google Cloud Professional Cloud Architect — Question 22
You want to automate the creation of a managed instance group. The VMs have many OS package dependencies. You want to minimize the startup time for new
VMs in the instance group.
What should you do?
Answer options
- A. Use Terraform to create the managed instance group and a startup script to install the OS package dependencies.
- B. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
- C. Use Puppet to create the managed instance group and install the OS package dependencies.
- D. Use Deployment Manager to create the managed instance group and Ansible to install the OS package dependencies.
Correct answer: B
Explanation
The correct answer is B because creating a custom VM image that includes all necessary OS package dependencies allows for faster startup times as the packages are pre-installed. Options A, C, and D rely on additional installation processes at startup, which can increase the time it takes for new VMs to become operational.