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

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 52 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 52
Topic #: 1
[All Associate Cloud Engineer Questions]

Your company has a Google Cloud Platform project that uses BigQuery for data warehousing. Your data science team changes frequently and has few members.
You need to allow members of this team to perform queries. You want to follow Google-recommended practices. What should you do?

  • A. 1. Create an IAM entry for each data scientist's user account. 2. Assign the BigQuery jobUser role to the group.
  • B. 1. Create an IAM entry for each data scientist's user account. 2. Assign the BigQuery dataViewer user role to the group.
  • C. 1. Create a dedicated Google group in Cloud Identity. 2. Add each data scientist's user account to the group. 3. Assign the BigQuery jobUser role to the group.
  • D. 1. Create a dedicated Google group in Cloud Identity. 2. Add each data scientist's user account to the group. 3. Assign the BigQuery dataViewer user role to the group.
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
Gini
Highly Voted 4 years, 6 months ago
C is correct because dataViewer does not allow user to perform queries. jobUser can.
upvoted 100 times
mandeeplamba
8 months, 1 week ago
The dataViewer role gives permissions to run read-only queries, and that’s all data scientists will need so D is correct C will work but update and delete permissions are not required here.
upvoted 2 times
...
rbrto
4 years, 6 months ago
dataviewer can perform queries as well. D is correct
upvoted 6 times
nightflyer
3 years, 11 months ago
incorrect
upvoted 2 times
...
Dips_
3 years, 11 months ago
no it does not. BigQuery Job User Provides permissions to run jobs, including queries, within the project.
upvoted 2 times
...
Rajesh_Arya
2 years, 10 months ago
it can not. go through the below documentation: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
upvoted 5 times
Nikki2424
6 months, 1 week ago
I checked this. This is what it says about BigQuery Data Viewer: When applied to a dataset, this role provides permissions to list all of the resources in the dataset (such as tables, views, snapshots, models, and routines) and to read their data and metadata with applicable APIs "and in queries". It explicitly says "permission to read data in queries" Also notice that jobUser will give unnecessary permissions (at project level) to a group of data scientists that frequently change.
upvoted 1 times
...
...
...
...
zukko78
Highly Voted 4 years, 6 months ago
C is correct, doc's said: When applied to a dataset, dataViewer provides permissions to: Read the dataset's metadata and to list tables in the dataset. Read data and metadata from the dataset's tables. When applied at the project or organization level, this role can also enumerate all datasets in the project. Additional roles, however, are necessary to allow the running of jobs.
upvoted 46 times
spudleymcdudley
4 years, 4 months ago
listen to this guy, he's right
upvoted 2 times
...
dartharlington
2 years, 4 months ago
according to the principle of least priviledge that Google instills on it's IAM offerings, answer c would be correct!
upvoted 1 times
...
spudleymcdudley
4 years, 4 months ago
Ref 'D' data viewer = When applied at the project or organization level, this role can also enumerate all datasets in the project. Additional roles, however, are necessary to allow the running of jobs.
upvoted 7 times
...
...
psyll0n
Most Recent 1 week, 3 days ago
C is correct! Reference: https://cloud.google.com/bigquery/docs/access-control
upvoted 1 times
...
imazy
2 weeks, 1 day ago
Viewer has these access :- bigquery.tables.export bigquery.tables.get bigquery.tables.getData , which are sufficient to read the data , https://cloud.google.com/bigquery/docs/access-control#:~:text=BigQuery%20Data%20Viewer&text=models%20or%20routines.-,When%20applied%20to%20a%20dataset%2C%20this%20role%20provides%20permissions%20to,applicable%20APIs%20and%20in%20queries.
upvoted 1 times
...
DWT33004
7 months, 2 weeks ago
Selected Answer: C
The Google-recommended practice for managing permissions in Google Cloud Platform (GCP) is to use IAM (Identity and Access Management) roles and groups for better organization and control. Option C aligns with this best practice: C. 1. Create a dedicated Google group in Cloud Identity. 2. Add each data scientist's user account to the group. 3. Assign the BigQuery jobUser role to the group. This approach allows for central management of permissions by adding and removing users from the Google group as needed, rather than individually managing permissions for each user. The jobUser role provides the necessary permissions for running queries in BigQuery, allowing the data science team to perform their tasks without granting unnecessary permissions.
upvoted 1 times
...
LSB56757
7 months, 3 weeks ago
Selected Answer: A
This is correct
upvoted 1 times
...
mandeeplamba
8 months, 1 week ago
Selected Answer: D
D is correct as dataViewer role in BigQuery provides read-only access to datasets and allows users to run select queries.
upvoted 2 times
...
XNap
8 months, 1 week ago
Selected Answer: C
The correct answer is C. Assign the BigQuery jobUser role to individual user accounts, which can be complicated to manage as teams change frequently. The BigQuery dataViewer role only allows viewing data in BigQuery data sets and tables, but does not grant permission to run queries or create jobs.
upvoted 1 times
...
shmoeee
9 months, 1 week ago
Per documentation: jobUser: "Provides permissions to run jobs, including queries, within the project." dataViewer can only "view" data, but can't run queries: https://cloud.google.com/bigquery/docs/access-control#bigquery.dataViewer
upvoted 2 times
...
PrivateHulk
9 months, 2 weeks ago
Answer is D. dataViewer Role: The dataViewer role in BigQuery provides read-only access to datasets. It allows users to run queries on the datasets but does not grant permissions to modify or delete data. This is generally appropriate for data scientists who need to analyze data but not make structural changes to datasets. This approach follows the principle of least privilege by granting the minimum necessary permissions for the data science team to perform their tasks without exposing unnecessary capabilities. Option C could also work, but using the dataViewer role is generally more appropriate for users who only need to query data without making structural changes to datasets.
upvoted 4 times
...
thewalker
1 year ago
Selected Answer: C
C As per the documentation, jobuser is required for querying: https://cloud.google.com/bigquery/docs/access-control#bigquery.dataViewer https://cloud.google.com/bigquery/docs/access-control#bigquery.jobUser
upvoted 3 times
...
gsmasad
1 year ago
Selected Answer: C
C is correct because dataViewer does not allow user to perform queries. jobUser can
upvoted 1 times
...
Captain1212
1 year, 2 months ago
Selected Answer: C
C is the corrcect answer as per the , google recommended practise add them into the group then assign the role
upvoted 2 times
...
Ram65453
1 year, 2 months ago
C is correct.
upvoted 1 times
...
Neha_Pallavi
1 year, 2 months ago
UPDATES and INSERTS are queries and can not be performed with dataviewer. So C is correct Answer
upvoted 1 times
...
Nxt_007
1 year, 3 months ago
Selected Answer: C
C is correct D is incorrect as the dataViewer role provides more access than needed for just performing queries. This role allows users to view data in datasets and tables, which might not be necessary or appropriate for your data science team.
upvoted 1 times
...
broly1884
1 year, 5 months ago
Selected Answer: C
dataViewer only allows vieweing. Pretty obvious!
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 ...