Question 498 of 500

Quick Answer

The answer is Organization Policies and Resource Manager folders. These two services work together to enforce consistent resource naming conventions across Google Cloud projects by allowing you to centrally constrain actions at the hierarchy level—Organization Policies provide custom constraints (such as a regex-based naming rule) while Resource Manager folders let you group projects and apply those policies uniformly without per-project configuration. On the Google Professional Cloud DevOps Engineer exam, this tests your understanding of hierarchical policy inheritance and how to bootstrap a multi-project environment for DevOps practices; a common trap is confusing Service Accounts and IAM roles, which handle permissions, not naming or structural policies. Remember the mnemonic "Folders for grouping, Policies for rules" to recall that folders organize projects and policies enforce the naming standards across them.

PCDOE Practice Question: Bootstrapping a Google Cloud organization for DevOps

This PCDOE practice question tests your understanding of bootstrapping a google cloud organization for devops. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

Your organization is adopting DevOps practices and needs to bootstrap a Google Cloud organization with multiple projects. You want to enforce consistent resource naming conventions and apply common organization policies across all projects. Which two services should you use together to achieve this?

Question 1mediummulti select
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

Service Accounts and IAM roles

Organization Policies allow you to centrally constrain actions across all projects in the hierarchy, while Resource Manager folders let you group projects and apply policies consistently. Together, they enable you to enforce naming conventions (e.g., via a custom constraint) and common policies (e.g., disabling external IPs) across multiple projects without manual per-project configuration.

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 Shell and Cloud Source Repositories

    Why it's wrong here

    Incorrect: Cloud Shell is a terminal, Cloud Source Repositories is for code storage, not policy enforcement.

  • Cloud Deployment Manager and Cloud Audit Logs

    Why it's wrong here

    Incorrect: Deployment Manager deploys resources, Audit Logs track changes, but neither enforces naming or policies.

  • Service Accounts and IAM roles

    Why this is correct

    Incorrect: Service accounts and IAM control access, not resource naming or organization policies.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Organization Policies and Resource Manager folders

    Why this is correct

    Correct: Organization policies enforce rules, Resource Manager folders structure projects for policy application.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between identity/access management (IAM) and organization-level policy enforcement, leading candidates to mistakenly choose Service Accounts and IAM roles when the question specifically asks for consistent naming conventions and common policies across projects.

Detailed technical explanation

How to think about this question

Organization Policies use constraint YAML files (e.g., `constraints/compute.vmExternalIpAccess`) that are evaluated at resource creation time via the Resource Manager API. Custom constraints can be defined using Common Expression Language (CEL) to enforce regex-based naming patterns on resource names. Folders support hierarchical policy inheritance, so a policy set on a folder automatically applies to all projects and resources within that folder, reducing administrative overhead.

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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

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 PCDOE 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 PCDOE 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 PCDOE question test?

Bootstrapping a Google Cloud organization for DevOps — This question tests Bootstrapping a Google Cloud organization for DevOps — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Service Accounts and IAM roles — Organization Policies allow you to centrally constrain actions across all projects in the hierarchy, while Resource Manager folders let you group projects and apply policies consistently. Together, they enable you to enforce naming conventions (e.g., via a custom constraint) and common policies (e.g., disabling external IPs) across multiple projects without manual per-project configuration.

What should I do if I get this PCDOE 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 PCDOE

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. Your organization requires that all new Google Cloud projects are automatically configured with a common set of VPC networks and subnets, and that these networks must be created before any resources are deployed. What is the best approach to enforce this requirement across the organization?

easy
  • A.Create a Cloud Deployment Manager template and share it with all project owners.
  • B.Use Organization Policies with a custom constraint to enforce that all projects must have a specific VPC network configuration.
  • C.Set up VPC Network Peering between all projects to enforce network connectivity.
  • D.Configure a shared VPC host project and attach all new service projects to it.

Why B: Organization Policies with custom constraints allow you to enforce that all new projects automatically include specific VPC networks and subnets before any resources are deployed. This is the only approach that provides mandatory, organization-wide enforcement at the project creation level, ensuring compliance without relying on manual templates or post-creation configuration.

Last reviewed: Jun 30, 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 PCDOE 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 PCDOE exam.