SAML 2.0, OpenID Connect (OIDC), Amazon Cognito, and AWS IAM Identity Center (formerly AWS SSO) — four pieces of the same underlying puzzle: letting an identity that doesn't natively live in AWS IAM get temporary, scoped AWS access. The exam tests whether you know WHO the identity belongs to (workforce vs customer vs machine/CI-CD) and which federation protocol/service fits that population.
AssumeRoleWithSAML for temporary AWS credentials. Browser-based, IdP-initiated or SP-initiated sign-in flows.AssumeRoleWithWebIdentity. This is the mechanism behind "Login with Google/Facebook," and also the standard way CI/CD systems (GitHub Actions, GitLab CI) get short-lived AWS credentials without storing long-lived secrets.Identity Federation questions almost always test whether you can identify WHO the identity belongs to. Workforce/employee accessing many AWS accounts → IAM Identity Center. App's own customers (potentially millions) → Cognito. An enterprise's existing corporate directory federating in via assertions → SAML. A CI/CD pipeline or mobile/web app needing token-based, no-stored-secret access → OIDC. Mixing these up is the single most common trap in this domain.
| Domain | Where This Bundle Shows Up |
|---|---|
| Identity & Access Management | The centerpiece — federation protocol selection, temporary credential issuance, permission scoping |
| Management & Security Governance | IAM Identity Center org-wide deployment, permission sets, ABAC |
| Infrastructure Security | Verified Access integration with Identity Center/SAML IdPs for zero-trust application access |
| Data Protection | Trusted Identity Propagation preserving human identity context into Lake Formation/Redshift/S3 Access Grants |
Long-lived IAM user access keys distributed to employees/applications/CI-CD systems, creating standing credential risk; no centralized way to manage workforce access across many accounts; customer-facing apps needing their own identity store
Issue short-lived, scoped AWS credentials to the right population through the right protocol, eliminating standing secrets wherever possible
The Identity Federation Bundle
Configure the IdP/OIDC provider trust relationship; for workforce, deploy Identity Center org-wide with permission sets; for customers, deploy Cognito User/Identity Pools; for CI/CD, configure OIDC trust with the specific provider (no stored AWS keys).
CloudTrail records every AssumeRoleWithSAML/AssumeRoleWithWebIdentity call; Cognito exports authentication event logs (Plus tier); Identity Center logs every SSO sign-in and permission set assignment.
Revoke/rotate the trust relationship, remove a compromised permission set assignment, or disable a Trusted Token Issuer if its signing keys are suspected compromised.
AssumeRoleWithSAMLAssumeRoleWithWebIdentity, the standard for CI/CD and mobile/webExam appearance probability: HIGH
sts:AssumeRoleWithSAML — exchanges the SAML assertion for temporary STS credentialshttps://aws.amazon.com/SAML/Attributes/Role) listing which IAM role(s) the user is permitted to assume — this is how SAML federation maps an external user to a specific AWS IAM role.sts:AssumeRoleWithWebIdentity — exchanges the OIDC token for temporary STS credentialsRequirement → Keywords → Expected Answer → why every distractor fails.
SAML 2.0 federation (AssumeRoleWithSAML)
| Distractor | Why it's wrong |
|---|---|
| Amazon Cognito | Built for customer-facing app authentication at scale, not enterprise workforce federation from an existing corporate IdP |
| OIDC | ADFS classically issues SAML assertions, not OIDC tokens, in this scenario — though modern ADFS can support OIDC too, SAML is the textbook-expected answer here |
AD Connector as the IAM Identity Center identity source
| Distractor | Why it's wrong |
|---|---|
| AWS Managed Microsoft AD | Stands up an entirely new, separate AWS-hosted AD domain and requires configuring a trust relationship — far more than this single-domain, no-duplication requirement calls for |
| External SAML 2.0 IdP | Requires standing up a separate federation layer (e.g. ADFS) in front of the AD — AD Connector talks to the existing AD directly, no extra IdP component needed |
AWS Managed Microsoft AD, with a trust relationship to the existing domains
| Distractor | Why it's wrong |
|---|---|
| AD Connector | Strictly a one-to-one trust with a SINGLE domain — does not support transitive trusts, so it structurally cannot reach multiple domains/forests at once |
OIDC federation (AssumeRoleWithWebIdentity)
| Distractor | Why it's wrong |
|---|---|
| Long-lived IAM user access keys stored as a repo secret | The exact anti-pattern OIDC federation is meant to eliminate — standing credentials with blast-radius risk |
| SAML | Designed for browser-based human sign-in flows, not the token-exchange pattern CI/CD systems use |
Amazon Cognito User Pools
| Distractor | Why it's wrong |
|---|---|
| IAM Identity Center | Sized and designed for workforce/employee SSO into AWS accounts, not millions of external app customers |
AWS IAM Identity Center with Permission Sets
| Distractor | Why it's wrong |
|---|---|
| Manually configure SAML federation directly into each of the 40 accounts | Works but is exactly the unscalable, decentralized pattern Identity Center is built to replace |
| Cognito | Wrong population — built for customers, not workforce/employees |
Trusted Identity Propagation
| Distractor | Why it's wrong |
|---|---|
| A single shared service IAM role for the application | Loses the individual human's identity context entirely — Lake Formation can't apply per-user row/column rules against an undifferentiated application identity |
Trusted Token Issuer (TTI)
| Distractor | Why it's wrong |
|---|---|
| Standing up a SAML application for Keycloak | The exact extra complexity TTI was introduced to remove for OIDC-compliant sources |
| Assuming TTI only works with AWS-hardcoded providers | Outdated — TTI broadened to support any OIDC-compliant issuer in early 2026 |
AssumeRoleWithSAML and AssumeRoleWithWebIdentityDon't assume Cognito's free tier still matches older documentation/screenshots showing 50,000 MAUs — it was reduced to 10,000 MAUs as part of the November 2024 Lite/Essentials/Plus tier restructuring.
| Misconception | Reality |
|---|---|
| "Cognito Identity Pools and User Pools do the same thing" | User Pools authenticate (who); Identity Pools authorize (what AWS access) — they solve different problems and are commonly used together |
| "IAM Identity Center is just Cognito for employees" | They're architecturally distinct services — Identity Center is built around Permission Sets and Organizations-wide account access, not user pool/identity pool concepts |
| "SAML and OIDC are interchangeable, pick whichever" | SAML = XML assertions for enterprise IdP browser flows; OIDC = JWT tokens for modern apps/CI-CD — the exam expects you to match the right protocol to the scenario's population and use case |
| "Trusted Token Issuer only works with AWS's officially listed identity providers" | Outdated — TTI broadened to accept any OIDC-compliant issuer during the 2025–2026 rollout, including internal/custom ones |
| "Storing AWS access keys as a CI/CD secret is an acceptable standard practice" | OIDC federation (AssumeRoleWithWebIdentity) is the AWS-recommended pattern specifically to avoid this standing-credential risk |
| Comparison | What actually differs |
|---|---|
| SAML vs OIDC | XML assertions / browser-based enterprise SSO vs JWT tokens / modern web, mobile, and CI-CD token exchange |
| Cognito User Pools vs Identity Pools | Authentication (who is this person) vs authorization (temporary AWS credentials for what they can do) |
| Cognito vs IAM Identity Center | Customer-facing app users at scale (millions) vs internal workforce SSO across an AWS Organization's accounts |
| Trusted Identity Propagation vs a plain service IAM role | Authorization evaluated against the actual human identity (needed for per-user data access rules) vs authorization evaluated only against the calling application's identity (fine when the human isn't a security boundary) |
| Trusted Token Issuer vs building a SAML application | Lightweight OIDC token exchange for any compliant issuer vs the heavier, older pattern of standing up a full SAML app or AWS-managed user pool just to federate one external identity source |
Click card to flip. Mark right or wrong to track score.
SCS-C02 scenario style, Easy → Specialty. Select an answer to reveal the explanation.