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.
A multinational enterprise is building a big data analytics pipeline on Google Cloud to process regulated healthcare data subject to strict data sovereignty laws in Germany. The compliance mandates require that all compute execution, key material, and at-rest storage remain strictly localized within the europe-west3 (Frankfurt) region, with controls in place to prevent data exfiltration.
You need to architect the Dataproc infrastructure, Customer-Managed Encryption Keys (CMEK), and perimeter security to enforce these data sovereignty requirements.
Which configuration should you deploy?
This option creates a regional KMS key in europe-west3, assigns decrypt privileges to individual human users (Data Engineers), passes both --kms-key and --gce-pd-kms-key flags simultaneously in the cluster creation command, and uses local VPC egress firewall rules to block public IP traffic.
gcloud dataproc clusters create command rejects simultaneous usage of both --kms-key and --gce-pd-kms-key; users must select one or the other.You were building custom client-side application encryption where human end-users directly wrap and unwrap payload data before transmitting it over private IP subnets.
This architecture establishes an end-to-end regional data processing boundary by combining localized Cloud Key Management Service (Cloud KMS) Customer-Managed Encryption Keys (CMEK), regional Dataproc compute resources, and a VPC Service Controls service perimeter.
europe-west3 region guarantees that the cryptographic key material is created, stored, and processed solely within that specific geographic location, meeting sovereign data residency mandates.roles/cloudkms.cryptoKeyEncrypterDecrypter role to the Compute Engine, Cloud Storage, and Dataproc service agents enables full cryptographic access across all stages of processing. Using --kms-key on the Dataproc cluster encrypts the persistent disks and submitted job arguments, while the --bucket flag specifies a dedicated Cloud Storage staging bucket encrypted with the regional CMEK.europe-west3).Google Cloud requires CMEK keys to reside in the exact same region as the underlying resources they protect. Provisioning single-region keys in europe-west3 alongside matching regional Dataproc clusters and staging buckets ensures complete functional compatibility and strict compliance with territorial data residency laws.
This option provisions a global Cloud KMS key, grants encryption and decryption permissions exclusively to the Dataproc service agent, specifies the --gce-pd-kms-key flag during cluster creation, and relies on VPC Flow Logs for passive network monitoring.
service-PROJECT_NUMBER@compute-system.iam.gserviceaccount.com), not just the Dataproc service agent, to have decrypt permissions on the key.--gce-pd-kms-key flag only encrypts the attached persistent disks, leaving job arguments and the staging bucket unconfigured for custom CMEK protection.The goal was simply to monitor network traffic across non-regulated infrastructure using globally distributed key rings without strict data residency obligations.
This option creates a multi-location/dual-region Cloud KMS key distributed across the Netherlands and Belgium (europe-west4 and europe-west1), grants administrative key management permissions directly to the VM service account, and relies on standard IAM and default Google-managed staging buckets.
europe-west3), violating the strict single-region data sovereignty mandate.europe-west3 cannot be encrypted by KMS keys residing in different regional locations like europe-west4 or europe-west1.The workload required multi-region automated failover across Western Europe and did not enforce strict single-jurisdiction data sovereignty inside Germany.
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