Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 49 of 268

Professional Cloud DevOps Engineer. Associate level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud DevOps Engineer Question 49

Single answerGoogle Cloud Platform

You are tasked with creating a bootstrapping process for development environments in Google Cloud Platform (GCP). The goal is to ensure that new virtual machine (VM) instances are provisioned with all required tools, such as a custom IDE, Cloud SDK, and specific configuration files, while minimizing manual intervention. What should you do to meet these requirements effectively?

  1. A

    Create a custom VM image preloaded with the required tools and configurations, and use it to launch new VMs.

  2. B

    Write a startup script that installs the required tools and configurations during the VM initialization phase.

  3. C

    Use Cloud Deployment Manager to orchestrate the installation of tools and configurations after the VM is launched.

  4. D

    Manually install the required tools and configurations on each VM after it is created.

Show answer and explanation

Correct answer: A

Explanation

Using a custom VM image preloaded with the required tools, configurations, and dependencies is the most efficient way to bootstrap environments in GCP. This approach reduces provisioning time, ensures consistency, and minimizes the risk of errors compared to alternative methods like startup scripts or manual installation.

  • A. Correct.

    This is the correct option. A custom VM image ensures that all required tools and configurations are pre-installed, leading to faster provisioning and consistent environments. This approach also minimizes manual intervention.

  • B. Incorrect.

    While startup scripts can be used to install tools and configurations, they increase the time it takes to initialize the VM and might fail due to network or dependency issues. Custom images are more reliable for this purpose.

  • C. Incorrect.

    Cloud Deployment Manager is more suitable for managing infrastructure as code but is not ideal for ensuring all required tools and configurations are pre-installed on a VM.

  • D. Incorrect.

    Manually installing tools and configurations is error-prone, time-consuming, and does not scale well in automated cloud environments.

Timed practice exam

Take a Google Professional Cloud DevOps Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam