D2: Amazon Cognito & Federation
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
Cognito user pools?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Amazon Cognito & Federation practice questions and answers
- Cognito user pools?User directory for sign-up/sign-in, returns JWTs (ID, access, refresh tokens); supports social/SAML/OIDC IdPs.
- Cognito identity pools?Exchange identities (user pool, social, SAML, guest) for temporary AWS credentials via STS.
- User pool vs identity pool?User pool = authentication (who you are). Identity pool = AWS authorization (AWS credentials).
- Scenario: mobile app users upload directly to S3. Cognito component?Identity pool providing temporary credentials with scoped IAM role.
- Cognito hosted UI / managed login?Prebuilt sign-in pages with OAuth 2.0 flows.
- Cognito Lambda triggers?Customize flows: pre sign-up, pre token generation, custom auth challenges, migrate user.
- Cognito groups?Assign users to groups that map to IAM roles or app permissions.
- Unauthenticated (guest) identities?Identity pools can grant limited AWS access to guests.
- IAM federation for workforce?SAML/OIDC IdP assumes IAM roles; or IAM Identity Center.
- Cognito user pool authorizer in API Gateway?Validates JWT from user pool before invoking backend.