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 stores highly sensitive customer transactional data in a centralized BigQuery dataset (raw_transactions). An external partner organization needs to query aggregated daily transaction metrics without gaining direct access to the underlying sensitive tables containing personally identifiable information (PII).
You must design a secure data sharing architecture that satisfies the following requirements:
raw_transactions dataset.Which solution should you implement?
An authorized view in BigQuery is a logical SQL view that allows specific users or groups to query aggregated or filtered data from a source dataset without granting those users direct access to the underlying source tables. By authorizing the view itself to access the source dataset, BigQuery executes queries against the view using the view's elevated dataset authorization rather than the end-user's permissions.
raw_transactions, users only need the roles/bigquery.dataViewer role on the dataset containing the view.DATA_READ logs) in Cloud Audit Logs ensures every query run against the authorized view is captured with detailed metadata, timestamps, and caller identities.roles/bigquery.dataViewer and Cloud Logging.This pattern separates consumer presentation from protected underlying storage while maintaining complete regulatory auditing and strict data isolation.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.