Question 210
The administrator needs to prevent tokens issued for a different relying party from authenticating to an organization's provider. Which of these solutions directly satisfies the goal?
Explanation
Correct Answer
Workload Identity Federation audience mapping directly provides the mechanism to prevent tokens issued for a different relying party from authenticating to an organization's provider. Before rollout, the team should configure the provider's allowed token audience and verify token audience claims match. Successful behavior means that authorized external tokens pass audience validation while unrelated tokens are rejected.
Incorrect Answers
External workload identity federation pool fits a different requirement: to let a trusted GitHub Actions workflow obtain access to Google Cloud without exporting long-lived service account keys. Its direct acceptance evidence is that only eligible workflow subjects exchange a valid token for Google Cloud access; it is not the most specific solution to prevent tokens issued for a different relying party from authenticating to an organization's provider.
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 prevent tokens issued for a different relying party from authenticating to an organization's provider.
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 prevent tokens issued for a different relying party from authenticating to an organization's provider.






Associate Cloud Engineer Practice Tests