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 258 discussion

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

You are configuring service accounts for an application that spans multiple projects. Virtual machines (VMs) running in the web-applications project need access to BigQuery datasets in the crm-databases project. You want to follow Google-recommended practices to grant access to the service account in the web-applications project. What should you do?

  • A. Grant "project owner" for web-applications appropriate roles to crm-databases.
  • B. Grant "project owner" role to crm-databases and the web-applications project.
  • C. Grant "project owner" role to crm-databases and roles/bigquery.dataViewer role to web-applications.
  • D. Grant roles/bigquery.dataViewer role to crm-databases and appropriate roles to web-applications.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Gocool28
Highly Voted 10 months, 3 weeks ago
Selected Answer: D
D is the least privilege and Google's recommended practices.
upvoted 5 times
...
yomi95
Most Recent 1 month, 2 weeks ago
Selected Answer: D
The question does not describe any project requiring "owner" role access, hence granting that role to any of the project would violate least privilege. Can argue that crm-databases should have full access hence need owner role, but question does not mention specifically, and we only assume that.
upvoted 1 times
...
d52e44d
7 months ago
Selected Answer: A
I had my exam today and select A. I did only because of these sentence "service accounts for an application that spans multiple projects ." not 100% sure if it's correct but service account for web apps needs permissions to span projects. Maybe I got it wrong but A makes sense. It's tricky cause you don't know if web-apps will also do some updates on BigQuery or not.
upvoted 1 times
...
PiperMe
8 months, 3 weeks ago
Selected Answer: D
D is the best answer and, for me, it was a process of elimination. The Project Owner role grants far-reaching permissions beyond what's needed for reading BQ datasets, violating the principle of least privilege.
upvoted 2 times
...
Cynthia2023
10 months, 3 weeks ago
Selected Answer: A
Interpreting 'Project Owner' as the responsible entity, and not as the 'Project Owner' IAM role in Google Cloud: In this case, the instruction directs the person or entity managing the 'web-applications' project to grant appropriate roles for accessing the 'crm-databases' project. If this interpretation aligns with the intent of Option A, then it would indeed be a correct approach. Otherwise, none of the provided options would be correct.
upvoted 1 times
RKS_2021
2 months, 1 week ago
We need to assign roles to the service account. It should have read access on the crm project. D is correct.
upvoted 1 times
...
LautaroBarone
9 months, 3 weeks ago
You're managing the service accounts, why would you grant any role to 'web-applications' project owner? The most appropiate should be D, because you are granting a wrong role to the service accounts in 'crm-databases' project, but then the option says that appropiate roles will be granted to service accounts in 'web-applications' project.
upvoted 4 times
...
...
dan12q
10 months, 4 weeks ago
It is 116 question. The answer is D.
upvoted 4 times
...
KelvinToo
10 months, 4 weeks ago
Selected Answer: D
Per ChatGPT, Option D aligns with the principle of least privilege, provides separation of concerns between projects, and allows for granular access control, making it the best choice for granting access to the service account in the web-applications project to access BigQuery datasets in the crm-databases project while following Google-recommended practices.
upvoted 1 times
Cynthia2023
10 months, 3 weeks ago
why give the role to the project crm-databases, it makes no sense.
upvoted 2 times
...
...
shiowbah
11 months ago
D. Grant roles/bigquery.dataViewer role to crm-databases and appropriate roles to web-applications.
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 ...