QuestionQ107
Configuring accessYou are developing an application running on a Compute Engine VM. The application must access data stored in Cloud Storage buckets in other Google Cloud projects. The needed bucket access varies. You need to grant access to these resources while following Google-recommended practices. What should you do?
- A Limit the VMs access to the Cloud Storage buckets by setting the relevant access scope of the VM.
- B Create IAM bindings for the VM’s service account and the required buckets that allow appropriate access to the data stored in the buckets.
- C Grant the VM's service account access to the required buckets by using domain-wide delegation.
- D Create a group and assign IAM bindings to the group for each bucket that the application needs to access. Assign the VM's service account to the group.
Community Discussion