The answer is roles/bigquery.dataEditor. This role is the correct choice because it includes the specific `bigquery.tables.get` permission that the error message indicates is missing, along with other necessary permissions like `bigquery.tables.export` and `bigquery.tables.update` that a Dataflow job requires when reading from a BigQuery dataset. On the Google Professional Data Engineer exam, this scenario tests your understanding of how IAM permissions cascade from predefined roles to specific API actions, and it frequently appears as a trap where candidates mistakenly choose roles/bigquery.dataViewer, which lacks the write and export permissions needed for Dataflow pipelines to function. The key distinction is that Dataflow jobs often need to read table metadata and export data, not just view rows, so dataEditor is the minimal role that resolves the BigQuery IAM permissions Dataflow access denied error. Memory tip: think "Editor Exports" — if your Dataflow job touches table metadata or exports data, you need the Editor role, not just the Viewer.
PDE Designing data processing systems Practice Question
This PDE practice question tests your understanding of designing data processing systems. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit.
```
{
"bindings": [
{
"role": "roles/bigquery.dataViewer",
"members": [
"serviceAccount:dataflow-worker@PROJECT_ID.iam.gserviceaccount.com"
]
}
]
}
```
The exhibit shows an IAM policy for a BigQuery dataset. A Dataflow job is failing with 'Access Denied: Table ... User does not have bigquery.tables.get permission'. Which additional role should be granted to the service account?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
roles/bigquery.dataEditor
The error indicates the service account lacks the `bigquery.tables.get` permission, which is required to read table metadata. `roles/bigquery.dataEditor` includes this permission along with `bigquery.tables.get`, `bigquery.tables.update`, and `bigquery.tables.export`, making it the minimal role that resolves the access denied error for a Dataflow job reading from a BigQuery table.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
roles/bigquery.admin
Why it's wrong here
Too broad, but also correct; however dataEditor is sufficient.
✗
roles/bigquery.user
Why it's wrong here
Does not include tables.get.
✗
roles/bigquery.jobUser
Why it's wrong here
Does not include tables.get.
✓
roles/bigquery.dataEditor
Why this is correct
Includes bigquery.tables.get.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that `roles/bigquery.user` or `roles/bigquery.jobUser` provide sufficient read access for Dataflow jobs, when in fact they lack the specific `bigquery.tables.get` permission needed for table metadata retrieval.
Detailed technical explanation
How to think about this question
Under the hood, BigQuery uses a hierarchical permission model where `bigquery.tables.get` is a fine-grained permission that is part of the `bigquery.dataEditor` role but not included in `bigquery.user` or `bigquery.jobUser`. Dataflow jobs interact with BigQuery via the BigQuery Storage API or the legacy streaming API, both of which require table metadata access to determine schema and partitioning, making `bigquery.tables.get` essential even for read-only operations.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Designing data processing systems — This question tests Designing data processing systems — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: roles/bigquery.dataEditor — The error indicates the service account lacks the `bigquery.tables.get` permission, which is required to read table metadata. `roles/bigquery.dataEditor` includes this permission along with `bigquery.tables.get`, `bigquery.tables.update`, and `bigquery.tables.export`, making it the minimal role that resolves the access denied error for a Dataflow job reading from a BigQuery table.
What should I do if I get this PDE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This PDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PDE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.