PROFESSIONAL-CLOUD-ARCHITECT · Question #145
PROFESSIONAL-CLOUD-ARCHITECT Question #145: Real Exam Question with Answer & Explanation
The correct answer is B: Create a custom VM image with all OS package dependencies. Use Deployment Manager to. 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-inst
Question
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?
Options
- AUse Terraform to create the managed instance group and a startup script to install the OS
- BCreate a custom VM image with all OS package dependencies. Use Deployment Manager to
- CUse Puppet to create the managed instance group and install the OS package dependencies.
- DUse Deployment Manager to create the managed instance group and Ansible to install the OS
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
Community Discussion
No community discussion yet for this question.