27. Cognito Flashcards
When should you use Cognito instead of IAM?
When you see any of the following:
“hundreds of users”
“mobile users”
“authenticate with SAML”
What should you use to create a serverless database of users for your web and mobile applications?
Cognito User Pools (CUP)
CUP can invoke a Lambda function synchronously on what triggers?
- Authentication events
- Sign-Up
- Messages
- Token Creation
What should you use to get identities for “users” so they obtain temporary AWS credentials?
Cognito Identity Pools (Federated Identities)
Which Cognito service allows for unauthenticated (guest) access?
Cognito Identity Pools
How can Identity Pool users access AWS services?
directly or through API Gateway
True or False: Cognito Identity Pool users are mapped to IAM roles and policies
True
What should you use to stream data from Cognito into Kinesis?
Cognito Stream
What should you use to execute Lambda functions in response to events in Cognito?
Cognito Events
How can you silently notify across all devices when identity data changes?
Push Sync
What should you use to store preferences, configuration, and the state of your application?
AppSync