Question 10
A platform engineer has to grant only one Kubernetes application's Pod the minimum read permissions required for a Cloud Storage bucket. Which Google Cloud configuration is the most direct fit?
Explanation
Correct Answer
GKE Kubernetes service account resource grant directly provides the mechanism to grant only one Kubernetes application's Pod the minimum read permissions required for a Cloud Storage bucket. Before rollout, the team should bind the bucket role to the workload's federated principal identifier or an authorized mapped service account. Successful behavior means that the selected Pod accesses the target bucket while a different Pod identity is denied.
Incorrect Answers
Cloud Run workload identity for APIs fits a different requirement: to authenticate Cloud Run service-to-Google-API calls through a managed service identity without baking keys into containers. Its direct acceptance evidence is that Cloud Run requests to the authorized API use its runtime identity automatically; it is not the most specific solution to grant only one Kubernetes application's Pod the minimum read permissions required for a Cloud Storage bucket.
Workload Identity Federation audience mapping fits a different requirement: to prevent tokens issued for a different relying party from authenticating to an organization's provider. Its direct acceptance evidence is that authorized external tokens pass audience validation while unrelated tokens are rejected; it is not the most specific solution to grant only one Kubernetes application's Pod the minimum read permissions required for a Cloud Storage bucket.
GKE Workload Identity Federation fits a different requirement: to allow a Kubernetes Pod to call Google Cloud services under a scoped workload identity instead of a node-wide credential. Its direct acceptance evidence is that the intended Pod can call the authorized API while other Pods lack the delegated permissions; it is not the most specific solution to grant only one Kubernetes application's Pod the minimum read permissions required for a Cloud Storage bucket.






Associate Cloud Engineer Practice Tests