nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #91

PROFESSIONAL-CLOUD-DEVELOPER Question #91: Real Exam Question with Answer & Explanation

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #91. The question stem and answer options stay visible for context.

Implementing Application Security

Question

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?

Options

  • AGrant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
  • BGrant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-
  • CGrant the [email protected] service account the
  • DEnable the Cloud Storage API in project B.

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#IAM#Service Accounts#Cloud Functions#Cloud Storage Permissions
Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions