BigQuery IAM Role Hierarchy: Explicit User vs Group Roles
This PCDE practice question tests your understanding of design and implement database schemas. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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.
A company is setting up access control for a BigQuery dataset using the above IAM policy. An analyst who is a member of the group 'analysts@example.com' also has the user account 'analyst@example.com'. They need to create new tables in the dataset. What will be the outcome?
The correct answer is that the analyst can create tables because they have the dataOwner role assigned directly to their user account. This outcome hinges on the fundamental principle that IAM grants are additive, meaning explicit user roles always take precedence over group roles in BigQuery’s role hierarchy. When a user holds a direct role like dataOwner—which includes create table permissions—and is also a member of a group with a lesser role like dataViewer, the broader permissions from the direct assignment are not overridden or negated by the group membership. On the Google Professional Cloud Database Engineer exam, this scenario tests your understanding that IAM does not support a “deny” or conflict resolution model; instead, the effective permission is the union of all assigned roles. A common trap is assuming group roles can restrict a user’s direct permissions, but the key is remembering that explicit user roles always win. Memory tip: “Direct beats group—additive, not subtractive.”
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The analyst can create tables because they have dataOwner role on their user account.
The correct answer is C because IAM policies grant permissions based on the union of all roles assigned to the user, regardless of whether they come from group membership or direct user assignment. The analyst has the `dataOwner` role directly on their user account, which includes the `bigquery.tables.create` permission required to create new tables. Group membership with a lower-privilege role (e.g., `dataViewer`) does not override or conflict with the higher-privilege role on the user account.
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.
✗
The analyst will get an error because of conflicting roles.
Why it's wrong here
IAM allows multiple roles; there is no conflict.
✗
The analyst cannot create tables because the group only has dataViewer.
Why it's wrong here
The user's direct dataOwner role overrides the group's dataViewer.
✓
The analyst can create tables because they have dataOwner role on their user account.
Why this is correct
The dataOwner role includes all dataset permissions, including table creation.
Related concept
Read the scenario before looking for a memorised answer.
✗
The analyst can create tables if they also have jobUser role.
Why it's wrong here
jobUser is for running jobs, not for creating tables in a dataset.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud IAM often tests the misconception that group membership overrides direct user roles or that conflicting roles cause errors, when in reality IAM permissions are additive and the highest privilege always applies.
Detailed technical explanation
How to think about this question
Under the hood, BigQuery IAM evaluates effective permissions by combining all roles assigned to the principal (user or group) using a union model—deny rules are not supported in IAM, so the most permissive set of permissions wins. The `dataOwner` role at the dataset level grants `bigquery.tables.create`, `bigquery.tables.delete`, and `bigquery.tables.update`, among others, which are sufficient for creating new tables without needing any additional roles like `jobUser`. In real-world scenarios, this additive behavior is critical for managing least-privilege access while allowing exceptions for specific users.
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.
Design and implement database schemas — This question tests Design and implement database schemas — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The analyst can create tables because they have dataOwner role on their user account. — The correct answer is C because IAM policies grant permissions based on the union of all roles assigned to the user, regardless of whether they come from group membership or direct user assignment. The analyst has the `dataOwner` role directly on their user account, which includes the `bigquery.tables.create` permission required to create new tables. Group membership with a lower-privilege role (e.g., `dataViewer`) does not override or conflict with the higher-privilege role on the user account.
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.