Enforce EU-Only Regions for Compute Engine Instances
Short answer
D Apply an Organization Policy constraint to deny Compute Engine creation outside the EU and migrate existing non-compliant instances to approved regions.
Question
Key Takeaways
Tests geographic restriction enforcement via Organization Policy; the common trap is choosing third-party tools or manual detection over native IAM/Policy controls.
This question tests how to enforce geographic data residency requirements for Compute Engine workloads using native Google Cloud controls. The page establishes that Organization Policy constraints provide the definitive method to restrict instance creation to specific EU regions while guiding administrators on remediating legacy deployments.
Common mistake: Candidates often select third-party configuration management or Security Command Center alerts, overlooking that Organization Policy Constraints natively block non-compliant API calls at the resource level.
Expert Analysis
Why the Answer Is Correct
Organization Policy constraints in Resource Manager are designed specifically to govern resource creation across projects. By applying the constraints/compute.restrictAllowedZones (or equivalent region constraint) in ALLOW mode to target projects, you automatically deny any Compute Engine launch attempts outside the specified EU regions. This satisfies the prevention requirement, while identifying and migrating existing non-compliant VMs fulfills the remediation mandate outlined in the scenario.
Why the Other Options Are Wrong
Option A relies on external tooling and destructive actions rather than native access controls. Option B uses Security Command Center for detection only, introducing latency and requiring custom code instead of declarative policy enforcement. Option C correctly identifies the control mechanism but lacks the explicit remediation step required by the prompt, making D the more complete and operationally accurate choice.
Community Comment Notes
Multiple learners confirmed the selection by referencing official Google Cloud documentation on defining supported locations for Compute Engine. As noted by several users, the documentation explicitly validates using Organization Policy constraints to lock down regional deployments, reinforcing why the native control beats manual or third-party alternatives.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always map compliance scenarios to Google Cloud's native governance tools first; Organization Policies are the standard answer for enforcing structural, regional, or naming restrictions across projects before considering manual processes or third-party integrations.
Frequently Asked Questions
Why not use Security Command Center to detect non-compliant VMs?
Can Organization Policy automatically migrate existing VMs?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
Pime13 👍 1 Answered Dhttps://cloud.google.com/resource-manager/docs/organization-policy/defining-locations-supported-services#compute-engine For example, an instance template is a global resource, but you might specify regional or zonal disks in an instance template. Those disks are subject to the resource locations constraints, so, in your instance template, you must specify disks in regions and zones that your org policy permits.
-
Zek 👍 1 Answered Dhttps://cloud.google.com/resource-manager/docs/organization-policy/defining-locations-supported-services
-
yokoyan 👍 3 Answered DI think it's D.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.