Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 179 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 179
Topic #: 1
[All Professional Cloud Architect Questions]

Your company has a Google Cloud project that uses BigQuery for data warehousing. There are some tables that contain personally identifiable information (PII).
Only the compliance team may access the PII. The other information in the tables must be available to the data science team. You want to minimize cost and the time it takes to assign appropriate access to the tables. What should you do?

  • A. 1. From the dataset where you have the source data, create views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view.
  • B. 1. From the dataset where you have the source data, create materialized views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view.
  • C. 1. Create a dataset for the data science team. 2. Create views of tables that you want to share, excluding PII. 3. Assign an appropriate project-level IAM role to the members of the data science team. 4. Assign access controls to the dataset that contains the view. 5. Authorize the view to access the source dataset.
  • D. 1. Create a dataset for the data science team. 2. Create materialized views of tables that you want to share, excluding PII. 3. Assign an appropriate project-level IAM role to the members of the data science team. 4. Assign access controls to the dataset that contains the view. 5. Authorize the view to access the source dataset.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
[Removed]
Highly Voted 2 years, 6 months ago
Selected Answer: A
Materialized view is too costly for the requirement. So B & D is out. To protect PII, there is no need to create another dataset. Creating a view on the original dataset should be sufficient. In addition, according to https://cloud.google.com/bigquery/docs/view-access-controls, view access can be granted at the 'dataset' level.
upvoted 17 times
ashrafh
2 years ago
Sorry I mean C
upvoted 4 times
...
zellck
2 years, 2 months ago
Authorized views should be created in a different dataset from the source data. That way, data owners can give users access to the authorized view without simultaneously granting access to the underlying data.
upvoted 8 times
...
ashrafh
2 years ago
A is correct Giving a view access to a dataset is also known as creating an authorized view in BigQuery. An authorized view lets you share query results with particular users and groups without giving them access to the underlying tables. You can also use the view's SQL query to restrict the columns (fields) the users are able to query. In this tutorial, you create an authorized view. https://cloud.google.com/bigquery/docs/share-access-views
upvoted 4 times
...
...
[Removed]
Highly Voted 2 years, 10 months ago
Selected Answer: C
C is correct here. You need view to avoid PII data. So materialized view is not needed.
upvoted 13 times
melono
2 years, 1 month ago
also can't query data from a view, so A not.
upvoted 1 times
...
melono
2 years, 1 month ago
https://cloud.google.com/bigquery/docs/share-access-views
upvoted 1 times
...
...
192dcc7
Most Recent 2 months, 1 week ago
Devil is in the details. Question mentioned table"s". Which mean we have more than 1 table which will result in more than 1 view. You can authorize each view on "same" dataset or group all view"s" in a dataset then authorize the dataset. This does not answer the question (may be wording) but this is the concept behind the question.
upvoted 1 times
...
someone2011
1 year, 2 months ago
C: view in a different dataset (https://cloud.google.com/bigquery/docs/share-access-views: "Authorized views should be created in a different dataset from the source data. That way, data owners can give users access to the authorized view without simultaneously granting access to the underlying data.")
upvoted 6 times
cchiaramelli
1 year ago
Yes, good source
upvoted 1 times
...
...
Mournes
1 year, 3 months ago
Selected Answer: C
I went with C. A will prevent data scientists from viewing PII in the view, it doesn't stop them from viewing it in the table however.
upvoted 6 times
...
gary_cooper
1 year, 4 months ago
Selected Answer: C
https://cloud.google.com/bigquery/docs/share-access-views#create_a_dataset_where_you_can_store_your_view
upvoted 1 times
...
red_panda
1 year, 4 months ago
Selected Answer: A
It's no needed to create a new dataset and for sure is not cost-effective. A is best option
upvoted 1 times
...
Umesh09
1 year, 4 months ago
It should be option A the question states minimize cost and time, option C though has better security requires additional step.
upvoted 1 times
...
JC0926
1 year, 7 months ago
Selected Answer: C
Option A is not the best choice because it doesn't involve creating a separate dataset for the data science team. Creating a separate dataset provides better organization and access control management for different teams. In option C, you create a separate dataset specifically for the data science team and then create views that exclude PII. This allows for more granular access controls and a better separation of concerns. By authorizing the view to access the source dataset, you ensure that the data science team can only access the non-PII data through the views, maintaining privacy and compliance.
upvoted 2 times
...
JC0926
1 year, 8 months ago
Selected Answer: A
Option C are not appropriate because creating a new dataset is not necessary in this scenario. Creating views of the tables that exclude PII is a simpler and more cost-effective solution. Additionally, authorizing the view to access the source dataset is not necessary because the view already contains the relevant data.
upvoted 1 times
Toothpick
4 months ago
Wrong , because you then have to give access at view level to prevent spillover , C is better. Also, creating another dataset costs nothing, BQ charges for data stored and processed only, you can have a thousand datasets, it won't matter
upvoted 1 times
...
...
BeCalm
1 year, 8 months ago
C = A + One additional step to create the dataset which is not necessary so the answer is A
upvoted 1 times
...
BeCalm
1 year, 8 months ago
Selected Answer: A
No need for materialized view which is an operational overhead.
upvoted 1 times
...
CGS22
1 year, 8 months ago
Selected Answer: A
A. From the dataset where you have the source data, create views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view. This solution will minimize cost and the time it takes to assign appropriate access to the tables. The other options are not as efficient or effective.
upvoted 1 times
...
AugustoKras011111
1 year, 9 months ago
Selected Answer: C
I vote for C. Option C provides better security option.
upvoted 2 times
...
szagarella
1 year, 9 months ago
Selected Answer: A
A is my answer.
upvoted 1 times
...
telp
1 year, 9 months ago
Selected Answer: C
Agree with C from the link with google best practice https://cloud.google.com/bigquery/docs/share-access-views#create_a_dataset_where_you_can_store_your_view Create a dataset where you can store your view After creating your source dataset, you create a new, separate dataset to store the authorized view that you share with your data analysts. In a later step, you grant the authorized view access to the data in the source dataset. Your data analysts then have access to the authorized view, but not direct access to the source data.
upvoted 4 times
...
Jeena345
1 year, 9 months ago
Selected Answer: A
Materialized views costs more than normal ones. Creating a new dataset is not cost-effective. You can use authorized views to restrict data access. From Google doc: Giving a view access to a dataset is also known as creating an authorized view in BigQuery. An authorized view lets you share query results with particular users and groups without giving them access to the underlying tables. You can also use the view's SQL query to restrict the columns (fields) the users are able to query. Users need the bigquery.tables.getData permission on all tables and views that their query references. In addition, when querying a view users need this permission on all underlying tables and views. However, if you are using authorized views or authorized datasets, you don't need to give users access to the underlying source data. Reference: https://cloud.google.com/bigquery/docs/share-access-views https://cloud.google.com/bigquery/docs/table-access-controls#required_permission_to_query_tables_and_views
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...