Cloud Digital Leader Trust and security with Google Cloud Practice Question
A multinational corporation must comply with data residency requirements that prohibit storing data outside specific geographic regions. They plan to use BigQuery for analytics. How can Google Cloud help enforce this requirement?
⚠ Common exam trap
Google Cloud often tests the misconception that VPC Service Controls can enforce data residency by blocking cross-region API calls, but in reality, VPC Service Controls control network access, not where data is physically stored, making it ineffective for this requirement.
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
✓
Use BigQuery’s location parameter to set dataset location and enforce via Organization Policy
BigQuery datasets are created with a specific location parameter (e.g., `us-central1` or `EU`), and Google Cloud Organization Policies can be used to restrict where datasets can be created. By defining a constraint like `constraints/bigquery.locationRestriction`, administrators can enforce that datasets must reside only in approved geographic regions, preventing any data from being stored outside those boundaries. This directly addresses data residency requirements without relying on detection or blocking mechanisms that don't control storage location.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Cloud Audit Logs to detect and alert on cross-region data storage
Why it's wrong here
Cloud Audit Logs records data access and administrative actions, including where a BigQuery job ran, but it is a detective control. It can only alert you after a dataset has already been created in an unauthorized region, not prevent the creation in the first place. Data residency requires a hard enforcement mechanism, like an Organization Policy constraint that rejects non-compliant resource creation at the API layer.
- ✗
Use Cloud Data Loss Prevention to redact cross-region data
Why it's wrong here
Cloud Data Loss Prevention (DLP) inspects content for sensitive data such as PII or credit card numbers and can redact or mask that content. It operates purely on the data's content and has no awareness of a dataset's regional location, nor any ability to change where the dataset is stored. Using DLP to 'redact cross-region data' conflates content inspection with infrastructure geography; location compliance is a resource-level property controlled by policies, not by content transformation.
- ✗
Use VPC Service Controls to block access to BigQuery APIs from other regions
Why it's wrong here
VPC Service Controls builds security perimeters that block API calls from unauthorized networks or identities, but it does not influence the physical location where BigQuery stores data. A dataset created in a disallowed region remains in that region regardless of VPC SC rules because the location is fixed at dataset creation time. For data residency, you need to restrict the location parameter itself, not the network path used to access the API.
- ✓
Use BigQuery’s location parameter to set dataset location and enforce via Organization Policy
Why this is correct
In BigQuery, every dataset is created with a `location` parameter (e.g., `US`, `EU`, or a specific region like `asia-south1`) that determines where all tables and temporary storage are physically held. The Organization Policy constraint `gcp.resourceLocations` can be applied at the organization, folder, or project level to define an allowlist of regions; any attempt to create a dataset outside that allowlist is immediately denied. This dual approach gives you both the granularity to assign a dataset to a compliant region and a preventive policy guardrail that enforces residency across all projects.
Go deeper
Related to this question
Learn chapter
Cloud Digital Transformation
Key term
BigQuery
BigQuery is a fully managed, serverless data warehouse on Google Cloud that lets you run fast SQL queries on massive datasets without managing any infrastructure.
Key term
Data
Data is raw, unprocessed information, like numbers, words, or measurements, that can be stored, processed, and analyzed by computers.
About these practice questions
This GCDL question is part of Courseiva's 829-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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This GCDL 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 GCDL exam.