An enterprise is building a data pipeline on Google Cloud that will process GDPR-regulated personal data of EU residents. The data must never be stored or processed outside the European Union. The architect needs to ensure this requirement is enforced at the infrastructure level, not just by policy documentation. Select TWO controls that should be implemented to enforce data residency. (Choose 2)
- A. Apply a Cloud Armor security policy to block HTTP requests from non-EU geolocations.
- B. Use Cloud DLP to scan all data stored in BigQuery and alert when non-EU data patterns are detected.
- C. Apply the constraints/gcp.resourceLocations organization policy to restrict resource creation to EU regions only.✓ Correct
- D. Configure VPC Service Controls with an access level that blocks API calls originating from non-EU IP addresses.
- E. Enable the Assured Workloads EU Regions and Support package for the relevant folder or project.✓ Correct
Explanation
constraints/gcp.resourceLocations is an Organization Policy constraint that prevents GCP resources from being created or replicated outside specified locations. Setting this to EU regions ensures no storage or compute resources are provisioned outside the EU at the infrastructure level. Assured Workloads for EU provides a managed compliance framework that enforces data residency through technical controls including resource location restrictions, personnel access restrictions, and compliance monitoring, making it a strong complementary control. VPC Service Controls with IP-based access levels controls who can access the perimeter, not where data is stored or processed — it does not prevent resource creation outside the EU. Cloud DLP detects sensitive data patterns but cannot enforce where data is stored or processed; it is a detective control, not a preventive one for residency. Cloud Armor geographic restrictions block HTTP traffic at the load balancer level but do not prevent backend resources from being deployed or replicating data to non-EU regions.