Question 317 of 318
Single answerYou are developing an application that runs on a Compute Engine VM. The application needs to access data stored in Cloud Storage buckets in other Google Cloud projects. The required access to the buckets is variable. You need to provide access to these resources while following Google- recommended practices. What should you do?
ALimit the VMs access to the Cloud Storage buckets by setting the relevant access scope of the VM.
✓BCreate IAM bindings for the VM’s service account and the required buckets that allow appropriate access to the data stored in the buckets.
CGrant the VM's service account access to the required buckets by using domain-wide delegation.
DCreate 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.
✓
Correct Answer: 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.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.