Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
An enterprise is designing a data analytics architecture in Google Cloud that must comply with strict local data sovereignty and regulatory residency mandates. The compliance team has established the following requirements:
europe-west1) and prohibited from using multi-regions.Which set of configuration actions and organization policies should the data engineering team implement to meet these requirements?
europe-west1 and encrypt it using a global Cloud KMS key ring. Apply the gcp.restrictCmekCryptoKeyProjects constraint, and use BigQuery column-level data policies to restrict data residency to local jurisdictions.This approach configures a regional BigQuery dataset in europe-west1 but associates it with a global Cloud KMS key ring, while attempting to enforce regional data boundaries using BigQuery column-level data policies.
europe-west1). Global key rings cannot be used for regional CMEK bindings in BigQuery or Cloud Storage, and global keys undermine data residency controls by replicating key material across global infrastructure.gcp.resourceLocations organization policy constraint, allowing unauthorized users to create resources in unapproved geographic regions.gcp.restrictNonCmekServices, meaning users could still create unencrypted resources or use Google default encryption.The organization only required masking sensitive columns for specific IAM roles in existing regional datasets and did not require strict regional cryptographic boundaries or organization-wide location constraints.
gcp.resourceLocations organization policy constraint to allow only europe-west1. Apply the gcp.restrictNonCmekServices constraint for BigQuery and Cloud Storage, and use gcp.restrictCmekCryptoKeyProjects to restrict key provisioning to designated key projects. Create regional BigQuery datasets and Cloud KMS key rings explicitly in europe-west1.This architecture leverages Google Cloud organization policies alongside regionalized resource provisioning and Customer-Managed Encryption Keys (CMEK) in Cloud KMS to establish an end-to-end data residency and sovereignty boundary.
gcp.resourceLocations organization policy constraint with allowedValues set strictly to europe-west1 prevents the creation of storage, compute, and analytics resources in any other location, including broader multi-regions (such as EU).gcp.restrictNonCmekServices organization policy constraint enforces that services such as bigquery.googleapis.com and storage.googleapis.com cannot write data using default Google-managed keys, requiring all new at-rest data to use CMEK.gcp.restrictCmekCryptoKeyProjects organization policy restricts which hierarchy nodes (specific projects or folders) are allowed to supply cryptographic keys, preventing unapproved projects from providing CMEK keys.europe-west1 satisfies the cryptographic locality requirement, ensuring keys and encrypted data reside within the same regulatory boundary.Combining granular organization policies (gcp.resourceLocations, gcp.restrictNonCmekServices, and gcp.restrictCmekCryptoKeyProjects) with explicit regional provisioning provides deterministic technical enforcement of data sovereignty, preventing administrative errors or out-of-boundary data dispersion.
gcp.restrictNonCmekServices organization policy constraint. Create a regional BigQuery dataset in europe-west1, and set up Cloud Data Loss Prevention (Cloud DLP) inspection jobs to automatically migrate out-of-region datasets back to europe-west1.This configuration applies CMEK enforcement via gcp.restrictNonCmekServices and creates a dataset in europe-west1, but relies on Cloud DLP inspection to detect and remediate out-of-region data assets instead of using preventative organization policies.
gcp.resourceLocations constraint, developers can provision compute and storage in unauthorized regions across the globe.gcp.restrictCmekCryptoKeyProjects, allowing unauthorized or untrusted projects to supply KMS keys.The goal was to discover and de-identify sensitive PII within an existing europe-west1 dataset while requiring CMEK across selected Google Cloud services.
gcp.resourceLocations organization policy constraint with eu-locations. Create a BigQuery dataset in the EU multi-region, and configure a Cloud KMS key ring located in europe-west1 using gcp.restrictServiceUsage to enforce CMEK.This configuration sets the resource location boundary to include all European Union locations (eu-locations), creates multi-region BigQuery datasets, and pairs them with a single-region Cloud KMS key in europe-west1 while attempting to enforce CMEK via gcp.restrictServiceUsage.
gcp.resourceLocations to eu-locations and creating a BigQuery dataset in the EU multi-region distributes data across multiple European data centers, directly violating the mandate to restrict all data and compute strictly to europe-west1.EU) cannot be encrypted using a single-region (europe-west1) KMS key ring; the key ring location must match the dataset geographic scope.gcp.restrictServiceUsage policy restricts which API services can be accessed at runtime, but does not enforce mandatory CMEK on storage services.gcp.restrictCmekCryptoKeyProjects.eu-locations permits resource deployment across all EU member states rather than pinning data to a sovereign jurisdiction.gcp.restrictServiceUsage is an API allowlist/denylist mechanism, not a CMEK enforcement constraint.The enterprise required high availability across the entire European Union multi-region without single-country sovereignty restrictions and only wanted to allow specific Google Cloud APIs via service usage restrictions.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated