How to Configure BigQuery Roles for Shared and Private Datasets?
Short answer
C Give analysts the BigQuery Data Viewer role on the shared dataset. Create a dataset for each analyst, and give each analyst the BigQuery Data Editor role at the dataset level for their assigned dataset.
Question
Key Takeaways
This question tests the principle of least privilege and dataset-level scoping, where the common trap is applying roles too broadly at the project level or failing to isolate individual workspaces into separate datasets.
To balance data sharing with privacy in BigQuery, apply IAM roles at the dataset level rather than the project level. The community consensus confirms that assigning the Data Viewer role to a shared dataset and the Data Editor role to individual datasets ensures analysts can read shared data while working in isolated private workspaces.
Common mistake: Selecting Option D is a frequent error because it creates a single shared workspace for individual work, failing to isolate analysts' tables from one another as required.
Expert Analysis
Why the Answer Is Correct
Option C correctly applies the BigQuery Data Viewer role specifically to the shared dataset, ensuring read-only access without modification rights. By creating separate datasets for each analyst and assigning the BigQuery Data Editor role at the dataset level, it grants them the ability to create and manage their own tables. This configuration strictly enforces the requirement that other analysts cannot access these individual workspaces.
Why the Other Options Are Wrong
Options A and B incorrectly apply roles at the project level, which grants overly broad permissions, such as viewing all datasets or editing the shared data. Option D fails the requirement for individual workspaces by creating only one additional dataset for all analysts, meaning they would see and potentially modify each other's work.
Community Comment Notes
Community members consistently highlighted that Option C is the only solution that effectively prevents analysts from viewing the individual datasets of their colleagues. Comments specifically praised the use of dataset-level permissions to create private workspaces while maintaining read access to shared resources.
Official Reference
https://cloud.google.com/bigquery/docs/access-control
This link opens the official vendor documentation in a new tab.
Exam Strategy
Pay close attention to the scope of IAM permissions, specifically distinguishing between project-level and dataset-level assignments. When questions require "individual" or "private" workspaces, look for options that provision separate resources per user rather than a single shared resource.
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 6 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 6
-
raaad 👍 10 Answered C- Data Viewer on Shared Dataset: Grants read-only access to the shared dataset. - Data Editor on Individual Datasets: Giving each analyst Data Editor role on their respective dataset creates private workspaces where they can create and store personal tables without exposing them to other analysts.
-
scaenruy 👍 2 Answered CC. Give analysts the BigQuery Data Viewer role on the shared dataset. Create a dataset for each analyst, and give each analyst the BigQuery Data Editor role at the dataset level for their assigned dataset.
-
Sofiia98 👍 2 Answered Coption C, because analysts can not see the individual datasets of other analysts
-
meh_33 👍 1 Answered CWill GO with C
-
JyoGCP 👍 1 Answered COption C
Show 1 more comment
-
hanoverquay 👍 1 Answered Cvoted C
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.