Question 359 of 507
Scaling with Google Cloud operationshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to enforce resource labeling through Infrastructure as Code templates with required label variables in CI/CD pipelines, combined with Cloud Asset Inventory for compliance auditing. This approach is correct because it shifts enforcement left, embedding mandatory labels like `team`, `environment`, and `cost-center` directly into the resource creation process via IaC, while Cloud Asset Inventory provides a scalable, continuous audit across all 5 teams, 20 projects, and 3 regions without manual overhead. On the Google Cloud Digital Leader exam, this question tests your understanding of governance automation versus manual or post-creation fixes; a common trap is choosing a solution that only audits after resources exist (like a one-time script) rather than preventing non-compliance at creation. The key memory tip is “prevent at build, audit at rest”—IaC enforces during deployment, and Cloud Asset Inventory checks what’s already running, ensuring both proactive and reactive control for cost attribution and governance.

Cloud Digital Leader Scaling with Google Cloud operations Practice Question

This GCDL practice question tests your understanding of scaling with google cloud operations. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses Google Cloud across 5 teams, 20 projects, and 3 regions. They want to enforce a standard that all resources include specific labels (e.g., `team`, `environment`, `cost-center`) for cost attribution and governance. What is the most scalable way to enforce this labeling standard?

Question 1hardmultiple choice
Full question →

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

Enforce labeling through IaC templates with required label variables in CI/CD pipelines, and use Cloud Asset Inventory to audit compliance.

Option B is correct because it combines Infrastructure as Code (IaC) templates with required label variables in CI/CD pipelines to enforce labeling at resource creation time, and uses Cloud Asset Inventory to audit and detect non-compliant resources. This approach is scalable across 5 teams, 20 projects, and 3 regions because it automates enforcement and provides continuous compliance monitoring without manual intervention.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Send monthly reminders to all teams via email to add labels to their resources.

    Why it's wrong here

    Email reminders are not enforceable — teams may forget or deprioritize. Automated policy enforcement is the scalable solution across 5 teams and 20 projects.

  • Enforce labeling through IaC templates with required label variables in CI/CD pipelines, and use Cloud Asset Inventory to audit compliance.

    Why this is correct

    IaC templates with required label variables prevent deployment of unlabeled resources. CI/CD policy gates reject non-compliant configurations. Cloud Asset Inventory provides ongoing audit of label compliance across all projects.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Manually add labels to all existing and new resources through the Cloud Console.

    Why it's wrong here

    Manual labeling at scale (20 projects, ongoing new resources) is error-prone, inconsistent, and doesn't scale. Automation through IaC and CI/CD is required.

  • Grant only project owners permission to create resources, and rely on them to enforce labeling.

    Why it's wrong here

    Restricting resource creation to project owners limits development velocity. Consistent labeling requires automated policy enforcement, not gatekeeping by individuals.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may choose a manual or human-dependent option (like A or D) because they underestimate the scale and automation requirements of a multi-team, multi-project environment, failing to recognize that only IaC with automated auditing provides scalable enforcement.

Detailed technical explanation

How to think about this question

Cloud Asset Inventory uses the Cloud Asset API to query resource metadata across projects and regions, enabling real-time or scheduled audits against labeling policies. IaC tools like Terraform or Deployment Manager can enforce label variables as required inputs in CI/CD pipelines, rejecting deployments that omit mandatory labels. Under the hood, labels are key-value pairs stored in the resource's metadata, and Cloud Asset Inventory can export this data to BigQuery for advanced analysis and alerting.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related GCDL practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free GCDL practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this GCDL question test?

Scaling with Google Cloud operations — This question tests Scaling with Google Cloud operations — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Enforce labeling through IaC templates with required label variables in CI/CD pipelines, and use Cloud Asset Inventory to audit compliance. — Option B is correct because it combines Infrastructure as Code (IaC) templates with required label variables in CI/CD pipelines to enforce labeling at resource creation time, and uses Cloud Asset Inventory to audit and detect non-compliant resources. This approach is scalable across 5 teams, 20 projects, and 3 regions because it automates enforcement and provides continuous compliance monitoring without manual intervention.

What should I do if I get this GCDL question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More GCDL practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.