🔥 40% Off Crucial Exams Memberships — Deal ends today!

45 minutes, 0 second remaining!

GCP Associate Cloud Engineer Practice Question

You are deploying a containerized video-processing application to a GKE cluster that already has Workload Identity enabled. You created a Google service account named video-sa and want pods that run with the Kubernetes service account default in namespace video to download objects from a private Cloud Storage bucket. Which IAM binding is required to let the Kubernetes service account successfully impersonate video-sa through Workload Identity?

  • Add an IAM binding on the video-sa Google service account giving role roles/iam.serviceAccountTokenCreator to member serviceAccount:PROJECT_ID.svc.id.goog[video/default].

  • Add an IAM policy binding on the video-sa Google service account that grants role roles/iam.workloadIdentityUser to member serviceAccount:PROJECT_ID.svc.id.goog[video/default].

  • Grant role roles/serviceAccountUser on the default Kubernetes service account to principal video-sa@PROJECT_ID.iam.gserviceaccount.com.

  • At the project level, assign roles/storage.objectViewer to member serviceAccount:PROJECT_ID.svc.id.goog[video/default].

GCP Associate Cloud Engineer
Configuring access and security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot