Question 1
You created a curated dataset of market trends in BigQuery that you want to share with multiple external partners. You want to control the rows and columns that each partner has access to. You want to follow Google-recommended practices. What should you do?
- AOption A:
Publish the dataset in Analytics Hub. Grant dataset-level access to each partner by using subscriptions.
- BOption B:
Create a separate Cloud Storage bucket for each partner. Export the dataset to each bucket and assign each partner to their respective bucket. Grant bucket-level access by using 1AM roles.
- COption C:
Grant each partner read access to the BigQuery dataset by using 1AM roles.
- DOption D:
Create a separate project for each partner and copy the dataset into each project. Publish each dataset in Analytics Hub. Grant dataset-level access to each partner by using subscriptions.
Show answer and explanation
Correct answer: A
Comprehensive and Detailed in Depth Explanation:
Why A is correct:Analytics Hub allows you to share datasets with external partners while maintaining control over access.
Subscriptions allow granular control.
Why other options are incorrect:B: Cloud storage is for files, not bigquery datasets.
C: IAM roles do not allow for granular row and column level control.
D: Creating a separate project for each partner is complex and not scalable.