Examtopics

Professional Cloud Developer
  • Topic 1 Question 42

    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?

    • Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.

    • Grant your user account the roles/iam.serviceAccountUser role for the [email protected] service account.

    • Grant the [email protected] service account the roles/storage.objectCreator role for the Cloud Storage bucket.

    • Enable the Cloud Storage API in project B.


    シャッフルモード