exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 215 discussion

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

You have an application written in Python running in production on Cloud Run. Your application needs to read/write data stored in a Cloud Storage bucket in the same project. You want to grant access to your application following the principle of least privilege. What should you do?

  • A. Create a user-managed service account with a custom Identity and Access Management (IAM) role.
  • B. Create a user-managed service account with the Storage Admin Identity and Access Management (IAM) role.
  • C. Create a user-managed service account with the Project Editor Identity and Access Management (IAM) role.
  • D. Use the default service account linked to the Cloud Run revision in production.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
alpha_canary
2 months, 2 weeks ago
Selected Answer: A
A. Create a user-managed service account with a custom Identity and Access Management (IAM) role.
upvoted 1 times
...
__rajan__
9 months, 1 week ago
Selected Answer: A
A is correct.
upvoted 1 times
...
purushi
10 months, 4 weeks ago
Selected Answer: A
principle of least privilege -> custom Identity and Access Management (IAM) role
upvoted 1 times
...
telp
1 year, 5 months ago
Selected Answer: A
Answer is A The others give too many acess
upvoted 2 times
...
zellck
1 year, 6 months ago
Selected Answer: A
A is the answer.
upvoted 2 times
...
TNT87
1 year, 7 months ago
Answer A
upvoted 1 times
...
gardislan18
1 year, 7 months ago
Selected Answer: A
A - assign the needed permissions, following the least privilege rule Not B - https://cloud.google.com/iam/docs/understanding-roles#storage.admin C and D gives too many access
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago