Flashcardsfor IT Certifications

D4: Workload Identity Federation

Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards

Question
What is Workload Identity Federation?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Workload Identity Federation practice questions and answers
  1. What is Workload Identity Federation?
    Lets external workloads (AWS, Azure, on-prem, CI/CD) access Google Cloud without SA keys.
  2. What is a workload identity pool?
    A container for external identities in a project.
  3. What is a pool provider?
    Configuration trusting an external IdP (AWS, Azure, OIDC, SAML).
  4. How does the token exchange work?
    External credential → Security Token Service → federated token → (optional) SA impersonation.
  5. Example use case?
    GitHub Actions deploying to Google Cloud using OIDC instead of a key.
  6. In Workload Identity Federation, what is attribute mapping?
    Maps external token claims to Google attributes like google.subject.
  7. In Workload Identity Federation, what is an attribute condition?
    Restricts which external identities can use the pool (e.g. a specific repo).
  8. How do workloads use federation in client libraries?
    With a credential configuration file (gcloud iam workload-identity-pools create-cred-config).
  9. Direct access vs SA impersonation?
    Grant roles directly to federated principals, or let them impersonate a service account.
  10. Workload vs workforce federation?
    Workload: applications. Workforce: human users.
  11. Why prefer federation over SA keys?
    No long-lived secrets to leak or rotate.