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?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image..
Why this is the answer
Creating a custom VM image with pre-installed OS package dependencies significantly reduces startup time for new instances in a managed instance group. When a new VM is provisioned, it boots from this image, avoiding the need to download and install packages during startup. Deployment Manager is a suitable tool for automating the creation of the managed instance group, referencing this custom image. Using startup scripts (like with Terraform) or configuration management tools (like Puppet or Ansible) to install dependencies on boot would increase startup time, as each new VM would execute these installation steps. While these tools are valuable for ongoing configuration, they are less efficient for initial dependency provisioning when minimizing startup time is critical.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed