The answer is `roles/bigquery.dataEditor` because creating a view in BigQuery requires write-level permissions on the dataset, specifically the `bigquery.tables.create` and `bigquery.tables.update` actions. While the BI team can query tables—indicating they hold at least `roles/bigquery.dataViewer`—that role only grants read access, not the ability to persist new objects like views. On the Google Professional Cloud Database Engineer exam, this scenario tests your understanding of the granularity between BigQuery predefined IAM roles: `dataViewer` allows reading, `dataEditor` adds write capabilities, and `dataOwner` adds administrative control. A common trap is assuming querying alone implies full dataset access, but view creation is a write operation tied to the dataset’s metadata. To remember, think of a view as a saved query—you need permission to “save” (write) it, not just “run” it. The memory tip: “To view, you need to edit.”
PCDE Practice Question: Define data structures and implement SQL for Business Intelligence
This PCDE practice question tests your understanding of define data structures and implement sql for business intelligence. 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.
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 BI team can query tables but cannot create views, which requires write access to the dataset. The `roles/bigquery.dataEditor` role grants permissions to read, create, update, and delete datasets, tables, and views, including the `bigquery.tables.create` and `bigquery.tables.update` permissions necessary for view creation. The existing query capability indicates they have at least `roles/bigquery.dataViewer`, but view creation demands the additional write permissions provided by `dataEditor`.
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
Admin is too broad; dataEditor is sufficient.
✗
roles/bigquery.metadataViewer
Why it's wrong here
MetadataViewer only allows viewing metadata.
✓
roles/bigquery.dataEditor
Why this is correct
DataEditor includes permissions to create tables and views.
Related concept
Read the scenario before looking for a memorised answer.
✗
roles/bigquery.user
Why it's wrong here
User role includes jobUser but not table creation.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse the ability to query tables (which only requires `dataViewer` or `user`) with the write permissions needed to create views, leading them to incorrectly select `roles/bigquery.user` or `roles/bigquery.metadataViewer`.
Detailed technical explanation
How to think about this question
Creating a view in BigQuery requires the `bigquery.tables.create` permission on the dataset, as views are stored as table-like objects. The `dataEditor` role also includes `bigquery.tables.updateData`, which is necessary if the view references tables in the same dataset and requires schema updates. In practice, if the BI team needs to create authorized views that expose only specific columns, the `dataEditor` role is the minimum, as `dataViewer` only allows reading existing data and metadata.
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.
Define data structures and implement SQL for Business Intelligence — This question tests Define data structures and implement SQL for Business Intelligence — 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 BI team can query tables but cannot create views, which requires write access to the dataset. The `roles/bigquery.dataEditor` role grants permissions to read, create, update, and delete datasets, tables, and views, including the `bigquery.tables.create` and `bigquery.tables.update` permissions necessary for view creation. The existing query capability indicates they have at least `roles/bigquery.dataViewer`, but view creation demands the additional write permissions provided by `dataEditor`.
What should I do if I get this PCDE 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 PCDE 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 PCDE 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.