What should you do?

You want to automate the creation of a managed instance group and a startup script to install the OS package dependencies. You want to minimize the startup time for VMs in the instance group.

What should you do?
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.

Answer: B

Explanation:

"Custom images are more deterministic and start more quickly than instances with startup scripts. However, startup scripts are more flexible and let you update the apps and settings in your instances more easily."

https://cloud.google.com/compute/docs/instance-templates/create-instance-templates#using_custom_or_public_images_in_your_instance_templates

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments