
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
How should a VM securely write objects to Cloud Storage?
A
Make the bucket public
B
Use ACLs
C
Grant IAM role to the VM service account
D
Share user credentials
Explanation:
The correct answer is C) Grant IAM role to the VM service account.
roles/storage.objectCreator or roles/storage.objectAdmin) to the VM's service account, the VM can securely write objects without exposing credentials.The recommended approach is to: