professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your enterprise maintains a central BigQuery dataset named source_sales in project corp-analytics-prod that contains detailed order information and customer personally identifiable information (PII). You need to publish a collection of curated analytical views that exclude sensitive PII to an external analytics partner group (partner-analysts@partner.com).
The implementation must satisfy the following requirements:
source_sales directly.source_sales without individual view authorization.Which configuration should you implement?
An authorized dataset allows all views (both existing and future) within a designated dataset to access data from a shared source dataset without needing separate authorizations for each view. Combining this with granular Identity and Access Management (IAM) roles enables secure, least-privilege data sharing with external or internal consumers.
source_sales: The partner analysts are not granted any IAM roles on the source_sales dataset or its tables. Because partner_views is configured as an authorized dataset on source_sales, BigQuery verifies authorization at the dataset boundary, keeping the underlying source tables completely shielded from the analysts.partner_views dataset on source_sales automatically grants access to all views defined within it, eliminating the operational overhead of authorizing individual views.roles/bigquery.user at the project level provides the necessary bigquery.jobs.create permission to run query jobs, while granting roles/bigquery.dataViewer strictly at the partner_views dataset level limits view/read access exclusively to the curated dataset.This architecture establishes a clean separation between data ownership and consumption. It minimizes administrative complexity compared to individual authorized views, strictly isolates base tables containing PII, and applies minimal required IAM permissions across project and dataset boundaries.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.