OIDC Token for Cloud Federation Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Implement Security Best Practices

What you'll be asked

  1. What is the primary purpose of using OIDC (OpenID Connect) tokens for cloud federation?
  2. When configuring OIDC federation between a CI/CD provider (like GitHub Actions) and a cloud provider (like AWS), what is the role of the 'Audience' (aud) claim?
  3. Which of the following is a security best practice when defining trust relationships for OIDC federation?
  4. What happens if the 'exp' (expiration) claim in an OIDC token has passed when the cloud provider receives it?
  5. In a complex multi-environment setup, why is it recommended to use a unique 'sub' claim pattern rather than just the repository name in your OIDC trust policy?

Answers and explanations come after you submit.