Question 251 of 500
Supporting compliance requirementsmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to set an Organization Policy on the folder containing the project with the constraint `constraints/gcp.resourceLocations` configured to an allowedLocations list of US regions. This works because the resource location constraint is a list policy evaluated at resource creation time, blocking any Compute Engine, Cloud Storage, or BigQuery resource from being provisioned outside the specified geographic boundaries, thereby enforcing data residency for FedRAMP compliance. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of hierarchical policy inheritance and the distinction between organization policies and IAM permissions—a common trap is confusing this with a VPC Service Controls perimeter or a simple region restriction on a single service. Remember the memory tip: “Location lock at the folder, not the project—think ‘folder first, resource last’ to avoid missing the inheritance chain.”

PCSE Supporting compliance requirements Practice Question

This PCSE practice question tests your understanding of supporting compliance requirements. 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.

A government agency requires that all compute resources for a project are physically located in the United States (US) to comply with FedRAMP. The project contains Compute Engine instances, Cloud Storage buckets, and BigQuery datasets. Which configuration ensures that all future resources are created in the US?

Question 1mediummultiple 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

Set an Organization Policy on the folder containing the project with constraint constraints/gcp.resourceLocations set to allowedLocations list of US regions.

Option C is correct because the Organization Policy constraint `constraints/gcp.resourceLocations` enforces that all future resources in the project (Compute Engine instances, Cloud Storage buckets, BigQuery datasets) are created only in the allowed US regions. This policy is evaluated at resource creation time and prevents any resource from being provisioned outside the specified locations, directly meeting the FedRAMP requirement for physical location in the US.

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.

  • Configure VPC Service Controls with a perimeter that only allows access from US-based IP addresses.

    Why it's wrong here

    VPC Service Controls control data access, not resource creation location.

  • Assign the Compute Admin role to a security admin and restrict them to only create resources in US regions.

    Why it's wrong here

    IAM roles do not have fine-grained location constraints.

  • Set an Organization Policy on the folder containing the project with constraint constraints/gcp.resourceLocations set to allowedLocations list of US regions.

    Why this is correct

    This policy restricts resource creation to specified locations, applicable to all resources in that folder.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use Cloud KMS with a key from a US-based location and require that all resources use that key.

    Why it's wrong here

    KMS key location does not enforce where the resources are created.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that IAM roles or VPC controls can enforce resource location, when in reality only Organization Policy constraints provide that enforcement at creation time.

Detailed technical explanation

How to think about this question

The `constraints/gcp.resourceLocations` Organization Policy uses a list of allowed regions (e.g., `us-central1`, `us-east1`) and is enforced at the folder, project, or organization level. Under the hood, Google Cloud's Resource Manager evaluates this constraint before any resource creation API call completes, rejecting requests that specify a disallowed location with a 403 error. A real-world scenario is a multi-region setup where a misconfigured pipeline might attempt to create a BigQuery dataset in `europe-west1`; the policy blocks it immediately, ensuring compliance without manual oversight.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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

Supporting compliance requirements — This question tests Supporting compliance requirements — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Set an Organization Policy on the folder containing the project with constraint constraints/gcp.resourceLocations set to allowedLocations list of US regions. — Option C is correct because the Organization Policy constraint `constraints/gcp.resourceLocations` enforces that all future resources in the project (Compute Engine instances, Cloud Storage buckets, BigQuery datasets) are created only in the allowed US regions. This policy is evaluated at resource creation time and prevents any resource from being provisioned outside the specified locations, directly meeting the FedRAMP requirement for physical location in the US.

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

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 is deploying a multi-region application in Cloud Run and must comply with data residency requirements in the European Union (EU). They want to ensure that only EU-based Cloud Run instances are created. Which approach should they use?

medium
  • A.Add a label to the Cloud Run service specifying the region and rely on developers to follow it.
  • B.Set an Organization Policy with constraints/gcp.resourceLocations to restrict allowed regions to EU regions.
  • C.Use VPC Service Controls to limit access to the Cloud Run service from outside the EU.
  • D.Configure VPC Firewall rules to only allow egress to EU IP addresses.

Why B: Option B is correct because Organization Policies with the `constraints/gcp.resourceLocations` constraint allow administrators to enforce a list of allowed Google Cloud regions for resource creation. By setting this policy to include only EU-based regions (e.g., `europe-west1`, `europe-west4`), the company ensures that Cloud Run instances cannot be created outside the EU, directly meeting data residency compliance requirements. This is a preventive control that applies at the project or folder level, overriding any developer choices.

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 PCSE 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 PCSE exam.