Google Associate Cloud EngineerDeploying and implementing a cloud solutionMedium

A company is deploying a complex multi-tier application that consists of several Compute Engine instances, Cloud SQL databases, and Cloud Storage buckets. They need to automate the deployment and management of these resources as a single unit, ensuring consistency and repeatability across environments. Which Google Cloud service is best suited for this task?

  1. ACloud Functions
  2. BCloud Deployment Manager
  3. CCloud Shell
  4. DCloud Build
Show answer & explanation

Correct answer: B. Cloud Deployment Manager

Cloud Deployment Manager is an infrastructure-as-code service that allows you to define and deploy Google Cloud resources using declarative configuration files (YAML). It automates the provisioning of complex deployments as a single unit, ensuring consistency and repeatability.

Why the other options are wrong

  • A. Cloud Functions are serverless event-driven functions, suitable for small, single-purpose tasks, not for orchestrating complex infrastructure deployments.
  • C. Cloud Shell is an interactive shell environment for managing resources, but it's not an automation tool for infrastructure as code.
  • D. Cloud Build is a continuous integration/delivery platform, used for building and deploying software, not for defining and managing infrastructure as code.

Cloud Deployment Manager

An infrastructure-as-code service that enables you to specify all the resources needed for your application in a declarative format using configuration files. It automates the deployment and management of these resources.

  • Infrastructure as Code (IaC).
  • Uses YAML for configuration files.
  • Deploys resources as a single unit.
  • Ensures consistency and repeatability.

Memory trick: Deployment Manager builds your Cloud castle from a blueprint.

More Deploying and implementing a cloud solution questions