ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 72 - Professional Cloud Developer discussion

Report
Export

Your code is running on Cloud Functions in project

A.
It is supposed to write an object in a Cloud Storage bucket owned by project B. However, the write call is failing with the error '403 Forbidden'. What should you do to correct the problem?
Answers
A.
It is supposed to write an object in a Cloud Storage bucket owned by project B. However, the write call is failing with the error '403 Forbidden'. What should you do to correct the problem?
B.
Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
Answers
B.
Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
C.
Grant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-adminrobot. iam.gserviceaccount.com service account.
Answers
C.
Grant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-adminrobot. iam.gserviceaccount.com service account.
D.
Grant the [email protected] service account the roles/ storage.objectCreator role for the Cloud Storage bucket.
Answers
D.
Grant the [email protected] service account the roles/ storage.objectCreator role for the Cloud Storage bucket.
E.
Enable the Cloud Storage API in project B.
Answers
E.
Enable the Cloud Storage API in project B.
Suggested answer: B
asked 18/09/2024
Arun Lailamony
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first