GCP Professional Data Engineer Practice Question

Your company operates a multi-tenant analytics platform on Google Cloud. All customer data is stored in separate BigQuery datasets that reside in a single project. A Dataflow pipeline, executed by a dedicated service account, loads transformed data into every customer's dataset nightly. Each customer's analysts must be able to query only their own dataset, never see other customers' data, and must not create or modify tables. The central operations team needs to deploy, update, and monitor all Dataflow jobs but must be prevented from reading any customer data. Which IAM design best applies the principle of least privilege while meeting these requirements?

  • Grant each customer's analysts the primitive Viewer role on the project; grant the Dataflow worker service account roles/bigquery.user; grant the operations team roles/dataflow.admin and roles/bigquery.dataViewer at the project level.

  • Grant each customer's Google group roles/bigquery.dataViewer at the project level; grant the Dataflow service account roles/bigquery.dataOwner at the project level; grant the operations team roles/owner on the project.

  • Create a separate service account for each customer's pipeline and grant it roles/bigquery.admin on the customer's dataset; grant the operations team roles/dataflow.viewer at project level; assign no roles to customer groups and share query results through authorized views.

  • Grant each customer's Google group roles/bigquery.dataViewer on only its dataset; grant the Dataflow worker service account roles/bigquery.dataEditor on every customer dataset; grant the operations team roles/dataflow.admin (and no BigQuery data roles) at the project level.

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