professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A multinational enterprise operating in the European Union must enforce strict data residency and sovereignty requirements across all its Google Cloud projects. The lead data engineer needs to systematically prevent teams from creating data storage and processing services—such as Cloud Storage buckets, BigQuery datasets, and Dataplex metadata assets—outside of approved European locations, while ensuring that existing production workloads are not abruptly disrupted.
Which strategy should the engineer implement to meet these requirements, and how will it behave upon enforcement?
The Resource Location Restriction constraint (constraints/gcp.resourceLocations) is a managed organization policy constraint provided by the Organization Policy Service. It allows cloud administrators and governance teams to define an allowlist or denylist of physical locations and value groups where supported Google Cloud resources can be created.
allowedValues to the value group in:eu-locations ensures that all supported services (including Cloud Storage, BigQuery, Dataplex, and Compute Engine) are restricted to European regions and multi-regions.gcp.resourceLocations constraint are not retroactive. When the policy is enforced, resources provisioned before the constraint was added will continue to run and perform their functions without immediate disruption.in:eu-locations simplifies governance by dynamically encompassing all current and newly added European regions without requiring manual updates for each new datacenter.Owner or Editor).Using native organization policy constraints provides centralized, automated governance that prevents non-compliant provisioning before it occurs. Alternative methods, such as custom scripts or reactive log audits, either fail to prevent deployments or introduce significant management overhead without providing native policy inheritance.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.