🔥 40% Off Crucial Exams Memberships — Deal ends today!

GCP Professional Data Engineer Practice Question

Your fintech firm runs a Dataflow streaming job that writes payment events into the BigQuery dataset finance.raw_txn inside project p-pay. Compliance requires:

  • The pipeline's service account SA_INGEST must be able to create tables and append rows in finance.raw_txn but must never read data from it.
  • Members of the group [email protected] must be able to query data in the same dataset but must not change or delete any tables or rows.

Which IAM configuration best enforces the principle of least privilege while meeting both requirements?

  • Grant SA_INGEST the predefined role roles/bigquery.user at the project level and roles/bigquery.jobUser on the dataset. Grant [email protected] the same roles/bigquery.jobUser role on the dataset.

  • Create a custom role containing only bigquery.tables.create, bigquery.tables.updateData, and bigquery.jobs.create; grant it to SA_INGEST on finance.raw_txn. Grant [email protected] the predefined role roles/bigquery.dataViewer on that dataset and ensure no broader roles are inherited.

  • Grant SA_INGEST the predefined role roles/bigquery.dataEditor on finance.raw_txn, and grant [email protected] the predefined role roles/bigquery.dataViewer on the same dataset.

  • Grant SA_INGEST the predefined role roles/bigquery.admin on finance.raw_txn, and grant [email protected] the predefined role roles/bigquery.readSessionUser 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