Google Cloud Associate Cloud Engineer — Question 279

You are deploying an application to Google Kubernetes Engine (GKE). The application needs to make API calls to a private Cloud Storage bucket. You need to configure your application Pods to authenticate to the Cloud Storage API, but your organization policy prevents the usage of service account keys. You want to follow Google-recommended practices. What should you do?

Answer options

Correct answer: B

Explanation

Option B is the correct choice as it adheres to Google's recommended practices by using Workload Identity Federation without relying on service account keys. Options A, C, and D either suggest inappropriate use of service account keys or do not properly implement Workload Identity Federation, which is essential for secure and compliant access.