Google Professional Cloud Developer Exam - Topic 6 Question 18 Discussion
Your code is running on Cloud Functions in project A. It is supposed to write an object in a Cloud Storagebucket 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/iam.serviceAccountUser role for the service-PROJECTA@gcf-adminrobot.
iam.gserviceaccount.com service account.
A) Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
C) Grant the service-PROJECTA@gcf-admin-robot.iam.gserviceaccount.com service account the roles/
storage.objectCreator role for the Cloud Storage bucket.
D) Enable the Cloud Storage API in project B.
Lera
7 months agoTanesha
7 months agoBrice
8 months agoLeonor
8 months agoAnabel
8 months agoSanda
8 months agoRosendo
8 months agoAlana
8 months agoCammy
8 months agoYuki
8 months agoDaniela
8 months ago