
Ultimate access to all questions.
You've developed an application that reads objects from a Google Cloud Storage bucket. Following GCP documentation, you created a service account with permissions limited to reading objects from the bucket. However, the application fails to read objects when using this service account. To troubleshoot, you plan to authenticate a gsutil session with the service account credentials to reproduce and identify the issue. What is the correct method to authenticate gsutil with service account credentials?
A
Create JSON keys for the service account and execute gcloud auth activate-service-account --key-file [KEY_FILE]_
B
Create JSON keys for the service account and execute gcloud auth service-account --key-file [KEY_FILE]_
C
Create JSON keys for the service account and execute gcloud authenticate service-account --key-file [KEY_FILE]_
D
Create JSON keys for the service account and execute gcloud authenticate activate-service-account --key-file [KEY_FILE]_