Question 114 of 1,000
Scaling with Google Cloud operationsmediumMultiple ChoiceObjective-mapped

Enforce Naming and Label Policies with Organization Policy Service

This GCDL practice question tests your understanding of scaling with google cloud operations. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 cloud operations team wants to ensure that all cloud resources created in their Google Cloud organization comply with company naming standards and required cost allocation labels. Which Google Cloud capability can automatically enforce these standards on resource creation?

Quick Answer

The answer is the Organization Policy Service with custom constraints or required label policies. This is correct because it provides a preventive control that automatically enforces naming and label policies on resource creation, blocking any resource that fails to meet company naming standards or required cost allocation labels before it is provisioned. Unlike post-creation audits or manual checks, this service operates at the Google Cloud resource hierarchy level, ensuring compliance is built into the provisioning process itself. On the Google Cloud Digital Leader exam, this question tests your understanding of governance versus detection—a common trap is choosing Cloud Audit Logs or Resource Manager, which only report or organize resources after creation. Remember the key distinction: Organization Policy Service prevents violations, while other tools merely detect them. A useful memory tip is to think of it as a “bouncer at the door” that checks ID (naming and labels) before letting any resource into the organization.

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

Organization Policy Service with custom constraints or required label policies that prevent resource creation if naming and label standards are not met

Organization Policy Service with custom constraints or required label policies is correct because it provides a preventive control that blocks resource creation if the resource does not meet defined naming and label standards. This is enforced at the Google Cloud resource hierarchy level before any resource is provisioned, ensuring compliance automatically without relying on post-creation detection or manual processes.

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.

  • Cloud Billing reports, which flag resources missing required labels after they are created

    Why it's wrong here

    Cloud Billing reports provide retrospective cost attribution. They identify resources missing labels after creation but do not prevent non-compliant resources from being created. Preventive controls are needed, not detective.

  • Organization Policy Service with custom constraints or required label policies that prevent resource creation if naming and label standards are not met

    Why this is correct

    Organization Policy Service allows defining preventive guardrails at the organization level. Custom organization policy constraints can enforce required labels and naming patterns before resource creation is permitted — blocking non-compliant resources at creation time across all projects and services in the org.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Cloud Monitoring alerts that notify the team when non-compliant resources are detected

    Why it's wrong here

    Monitoring alerts are detective controls — they notify after a problem occurs. The question asks for enforcement on resource creation, which requires a preventive control.

  • Cloud IAM roles that only grant resource creation permissions to employees who have passed a naming standards training

    Why it's wrong here

    IAM controls who can take actions but cannot enforce the content of those actions (e.g., specific naming formats or label values). IAM grants or denies permissions at the action level, not at the attribute level.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse reactive monitoring or billing tools (like Cloud Monitoring or Cloud Billing reports) with preventive enforcement, not realizing that Organization Policy Service is the only option that blocks non-compliant resource creation at the API level.

Detailed technical explanation

How to think about this question

Organization Policy Service uses a constraint called `constraints/compute.requiredLabels` to mandate specific labels on Compute Engine resources, and custom constraints (defined via YAML with CEL expressions) can enforce naming patterns using regex matching. These policies are evaluated at the resource creation API call, and if the constraint is violated, the API returns a `PERMISSION_DENIED` error, preventing the resource from being created. In a real-world scenario, a team might combine a required label policy for cost allocation (e.g., `cost-center`) with a custom constraint enforcing a naming pattern like `^[a-z]+-[0-9]+$` to ensure all VMs follow a standard.

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: Organization Policy Service with custom constraints or required label policies that prevent resource creation if naming and label standards are not met — Organization Policy Service with custom constraints or required label policies is correct because it provides a preventive control that blocks resource creation if the resource does not meet defined naming and label standards. This is enforced at the Google Cloud resource hierarchy level before any resource is provisioned, ensuring compliance automatically without relying on post-creation detection or manual processes.

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

Same concept, more angles

1 more ways this is tested on GCDL

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company's cloud operations team is implementing a tagging strategy for cost allocation. They want to ensure that the 'cost-center' label is present on every Compute Engine VM and Cloud Storage bucket created in their Google Cloud organization. Currently, some resources are created without this label. Which combination of controls best enforces and remediates this requirement?

medium
  • A.Organization Policy custom constraint to prevent creation of resources without the 'cost-center' label (preventive), plus Cloud Asset Inventory to identify existing unlabeled resources for remediation (detective)
  • B.Only organization policy — once new resources are blocked, existing unlabeled resources don't matter
  • C.Only Cloud Asset Inventory monitoring — alerting on unlabeled resources is sufficient without preventing their creation
  • D.Grant all engineers the 'Labels Admin' role to encourage them to add labels voluntarily

Why A: A preventive control (org policy custom constraint requiring the label) stops future non-compliant resources. A detective/corrective control (Cloud Asset Inventory + Cloud Functions or Security Command Center) finds and remediates existing unlabeled resources. Both are needed for comprehensive enforcement.

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.