GCP Professional Data Engineer Practice Question

You are building a Dataflow streaming pipeline that writes to a BigQuery dataset containing sensitive health data. Compliance mandates that data at rest be encrypted with customer-managed keys stored in us-central1, that the key rotate every 90 days without downtime, and that the security team can quickly block the pipeline from decrypting data if a breach is suspected. Which solution best satisfies these requirements?

  • Rely on Google-managed default encryption for BigQuery and restrict Dataflow workers with VPC Service Controls; accept Google's automatic, silent key rotation.

  • Create a Cloud KMS key ring in us-central1 and enable automatic key rotation every 90 days. Encrypt the BigQuery dataset with this CMEK and grant the BigQuery service account the CryptoKey Encrypter/Decrypter role; security can revoke this role to stop decryption if needed.

  • Use client-side encryption by supplying a customer-supplied key (CSEK) to each Dataflow job. Rotate the key by generating a new value and rewriting all existing BigQuery data.

  • Store an AES-256 key in an on-premises HSM and have Dataflow workers download it through environment variables; rotate by updating the configuration file that contains the key reference.

GCP Professional Data Engineer
Ingesting and processing the data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot