27. Cognito Flashcards

1
Q

When should you use Cognito instead of IAM?

A

When you see any of the following:
“hundreds of users”

“mobile users”

“authenticate with SAML”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What should you use to create a serverless database of users for your web and mobile applications?

A

Cognito User Pools (CUP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CUP can invoke a Lambda function synchronously on what triggers?

A
  1. Authentication events
  2. Sign-Up
  3. Messages
  4. Token Creation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What should you use to get identities for “users” so they obtain temporary AWS credentials?

A

Cognito Identity Pools (Federated Identities)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which Cognito service allows for unauthenticated (guest) access?

A

Cognito Identity Pools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can Identity Pool users access AWS services?

A

directly or through API Gateway

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: Cognito Identity Pool users are mapped to IAM roles and policies

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What should you use to stream data from Cognito into Kinesis?

A

Cognito Stream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What should you use to execute Lambda functions in response to events in Cognito?

A

Cognito Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you silently notify across all devices when identity data changes?

A

Push Sync

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What should you use to store preferences, configuration, and the state of your application?

A

AppSync

How well did you know this?
1
Not at all
2
3
4
5
Perfectly