What should you do?

You need to set up permissions for a set of Compute Engine instances to enable them to write data into a particular Cloud Storage bucket. You want to follow Google-recommended practices.

What should you do?
A . Create a service account with an access scope. Use the access scope ‘https://www.googleapis.com/auth/devstorage.write_only’.
B . Create a service account with an access scope. Use the access scope ‘https://www.googleapis.com/auth/cloud-platform’.
C . Create a service account and add it to the IAM role ‘storage.objectCreator’ for that bucket.
D . Create a service account and add it to the IAM role ‘storage.objectAdmin’ for that bucket.

Answer: B

Explanation:

Reference: https://towardsdatascience.com/enlightened-datalab-notebooks-35ce8ef374c0

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments