nerdexam
Google

CLOUD-DIGITAL-LEADER · Question #122

Which of the following methods should you use when you require a dynamic way of provisioning VMs on Compute Engine when it is observed that the exact specifications will be in a dedicated…

The correct answer is B. Deployment Manager. Deployment Manager is Google Cloud's infrastructure-as-code (IaC) service that allows you to define, deploy, and manage GCP resources using declarative configuration files (YAML, Python, or Jinja2 templates). This directly matches the requirement of provisioning VMs dynamically…

Infrastructure Deployment and Management

Question

Which of the following methods should you use when you require a dynamic way of provisioning VMs on Compute Engine when it is observed that the exact specifications will be in a dedicated configuration file and you want to follow Google's recommended practices.

Options

  • AManaged Instance Group
  • BDeployment Manager
  • CCloud Composer
  • DUnmanaged Instance Group

How the community answered

(15 responses)
  • A
    7% (1)
  • B
    80% (12)
  • C
    13% (2)

Explanation

Deployment Manager is Google Cloud's infrastructure-as-code (IaC) service that allows you to define, deploy, and manage GCP resources using declarative configuration files (YAML, Python, or Jinja2 templates). This directly matches the requirement of provisioning VMs dynamically where 'exact specifications will be in a dedicated configuration file,' which is Google's recommended IaC practice. Managed Instance Groups (A) handle auto-scaling of identical VMs but are not config-file-driven IaC. Cloud Composer (C) is a workflow orchestration tool based on Apache Airflow. Unmanaged Instance Groups (D) offer no automation. Deployment Manager is the purpose-built GCP tool for config-file-based VM provisioning.

Topics

#Compute Engine#Infrastructure as Code (IaC)#Deployment Manager#VM Provisioning

Community Discussion

No community discussion yet for this question.

Full CLOUD-DIGITAL-LEADER Practice