Google Cloud Associate Data Practitioner — Question 77
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?
Answer options
- A. Publish the dataset in Analytics Hub. Grant dataset-level access to each partner by using subscriptions.
- B. Grant each partner read access to the BigQuery dataset by using IAM roles.
- C. Create a separate Cloud Storage bucket for each partner. Export the dataset to each bucket and assign each partner to their respective bucket. Grant bucketlevel access by using IAM roles.
- 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.
Correct answer: A
Explanation
The correct answer is A because publishing the dataset in Analytics Hub and using subscriptions allows for precise control over which rows and columns each partner can access, in line with Google’s recommended practices. Options B and C do not provide the same level of granular access control, and D unnecessarily complicates the process by creating separate projects for each partner.