GCP Professional Data Engineer Practice Question

Your organization runs Apache Beam pipelines on Cloud Dataflow in both a development project and a production project. Engineers currently launch jobs from their workstations with the same default Compute Engine service account, which has the BigQuery Admin role on both projects. After an incident in which a development job overwrote a production BigQuery table, you must redesign access so that:

  • Developers can still deploy and test pipelines in the development project without opening a support ticket.
  • Production pipelines are started only by Cloud Build triggers and must never reach development resources.
  • Human identities must not have broad BigQuery Admin rights in production.

Which change best meets these requirements while applying a stricter, least-privilege model in production?

  • Apply an organization policy that blocks Dataflow job submission from developer workstations so all jobs go through the existing default service account, which retains BigQuery Admin on both projects.

  • Keep the single default service account but replace its BigQuery Admin role with BigQuery DataEditor in both projects and rely on dataset-level ACLs in production to restrict writes.

  • Enable uniform bucket-level access on the production Cloud Storage staging bucket and add IAM Conditions to deny writes from non-production VPC networks while keeping the current service account roles unchanged.

  • Create separate user-managed service accounts: one dedicated to development and one to production. Grant the development account BigQuery Admin only on the development project, grant the production account BigQuery DataEditor on the required production datasets, remove its access to development, and configure all Cloud Build and Dataflow jobs to run with the correct account via the serviceAccount setting.

GCP Professional Data Engineer
Designing data processing systems
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