Cloud Digital Leader Scaling with Google Cloud operations Practice Question
A company is migrating to Google Cloud and wants to reduce operational overhead for managing their infrastructure. Which Google Cloud service allows them to define infrastructure as code and automate provisioning?
⚠ Common exam trap
Many exam-takers confuse Cloud Deployment Manager with general-purpose tools like Cloud SDK or Cloud Shell, assuming any command-line or scripting tool can achieve infrastructure-as-code automation, but only Deployment Manager provides declarative, managed provisioning.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Cloud Deployment Manager
Cloud Deployment Manager is the correct answer because it is a Google Cloud service that allows you to define your infrastructure as code using declarative templates (in YAML, Python, or Jinja2). It automates the provisioning and management of Google Cloud resources, reducing manual operational overhead by enabling repeatable, version-controlled deployments.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Cloud Deployment Manager
Why this is correct
Cloud Deployment Manager is Google Cloud's native Infrastructure as Code (IaC) service, allowing you to define your entire infrastructure in declarative YAML or Python templates. Once deployed, it treats templates as the source of truth, handling incremental updates, dependencies, and idempotent rollbacks automatically. This aligns perfectly with a migration goal to reduce operational overhead by making resource provisioning repeatable, auditable, and version-controllable.
- ✗
Google Cloud SDK
Why it's wrong here
The Google Cloud SDK is a collection of command-line tools (gcloud, gsutil, bq) that let you interact directly with GCP services. While you can write shell scripts that run gcloud commands to create resources, that is imperative rather than declarative: every script run must explicitly state the exact commands to alter the environment. It lacks a desired-state template engine, meaning it does not offer the self-healing, change-management, and drift detection that IaC with Deployment Manager provides, so it is not the right tool for reducing operational overhead via template-based automation.
- ✗
Cloud Console
Why it's wrong here
The Cloud Console is a web-based graphical interface for manually browsing, creating, and modifying GCP resources. It is inherently manual and interactive: each click directly changes a resource, with no template or version control behind it. This approach not only scales poorly across large migrations but also risks configuration drift, because the console shows only the current live state and gives no repeatable definition of the intended infrastructure, which contradicts the goal of automation.
- ✗
Cloud Shell
Why it's wrong here
Cloud Shell is an ephemeral, browser-based Linux terminal environment that comes preloaded with the Cloud SDK and other utilities. It is a convenient place to run gcloud commands or use editors, but it is not an infrastructure provisioning service itself. Cloud Shell does not define infrastructure; it simply provides a shell into which you could invoke other tools, so it is not an IaC solution and cannot handle declarative resource management like Deployment Manager.
Go deeper
Related to this question
Learn chapter
Cloud Digital Transformation
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
Google Cloud
Google Cloud is a suite of cloud computing services offered by Google that provides infrastructure, platform, and software solutions over the internet.
About these practice questions
One of 829 original GCDL practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.