Google ACE Setting Up a Cloud Solution Environment Practice Question
You are setting up a new organization in Google Cloud. You want to restrict the regions where resources can be created to comply with data residency requirements. What should you do?
⚠ Common exam trap
ACE often tests the misconception that IAM roles can restrict where resources are created, when in fact only Organization Policies provide location-based enforcement.
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 with a constraint on allowed resource locations
Organization policies in Google Cloud are the native mechanism for enforcing constraints across all projects in an organization, including resource location restrictions. The `constraints/gcp.resourceLocations` constraint (part of the Location Restriction constraint family) lets you define an allowlist of regions/zones where resources can be created, and it is enforced at the org, folder, or project level regardless of a user's IAM permissions. This directly satisfies data residency requirements because it blocks resource creation outside approved locations even for project owners.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set an organization policy with a constraint on allowed resource locations
Why this is correct
An organization policy with the constraints/gcp-resource-locations constraint defines an explicit allowlist of regions where resources can be created. When set at the organization, folder, or project level, it is enforced synchronously at resource creation time, and any API request targeting a location outside the allowlist is rejected with an error. This is the intended, preventative control for enforcing data residency or regulatory location requirements across Google Cloud.
- ✗
Create a service account with limited permissions
Why it's wrong here
A service account is an identity that workloads and applications use to authenticate and authorize API calls via IAM roles. Granting a service account limited permissions only restricts the actions that particular identity can perform; it has no bearing on the geographic locations where resources may be created. Location restrictions are a governance policy decision, not an identity attribute, so a narrowly-scoped service account can still create resources in any region as long as the granted roles permit those actions.
- ✗
Set a budget alert that notifies when resources are created outside allowed regions
Why it's wrong here
A budget alert monitors actual spend against a monetary threshold and sends notifications (e.g., email or Pub/Sub) when costs exceed that threshold. Budgets are purely reactive and cost-based: they do not inspect the location attribute of resources being created and cannot block provisioning or any other API call. Unlike an org policy, a budget alert only informs you after unauthorized resources already exist and have started incurring charges, so it is not a preventive or location-aware control.
- ✗
Use IAM roles to restrict which users can create resources in specific regions
Why it's wrong here
IAM roles are granted on projects, folders, or organizations and provide permissions such as compute.instances.create, but these permissions are not scoped to specific regions or zones. Although IAM Conditions can evaluate some resource attributes, they do not offer a consistent location dimension for all services and are not designed for location governance. The correct enforcement mechanism for restricting resource locations is an organization policy constraint, not IAM.
Go deeper
Related to this question
Learn chapter
Cloud DNS Private Zones and Forwarding
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.
Key term
Folder
A folder is a logical container used to organize and group digital files, resources, or cloud-based assets within a system or platform.
About these practice questions
This ACE question is part of Courseiva's 775-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Google Cloud exam blueprint
This ACE 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 ACE exam.