Cognito Flashcards

1
Q

What is Amazon Cognito?

A

Amazon Cognito is the solution for the authentication and authorization needs of applications.

Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can sign in directly to your applications with a username and password. Alternatively, they can sign in through a third party such as Facebook, Google, Apple, etc.

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

What are the two main components of Amazon Cognito?

A

User pools and identity pools.

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

User pools create access to your applications. True or false?

A

TRUE

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

Identity pools allow access to AWS resources. True or false?

A

TRUE

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

What is the format and three sections of Amazon Cognito tokens?

A

JSON Web Token (JWT)

  1. Header - algorithm (alg) and keyid (kid)
  2. Payload - encoded info
  3. Signature - calculated using header and payload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Amazon Cognito user pools exchange authentication tokens for AWS credentials. True or false?

A

FALSE

Identity pools exchange authentication tokens for AWS credentials.

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

To define the permissions for members of a group, you can assign an AWS identity and Access Management (IAM) role to an Amazon Cognito group. True or false?

A

TRUE

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

The JSON Web Token (JWT) payload section contained encoded information about the claim of the key. True or false?

A

TRUE

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

When using third-party federation, developers must use identity pools. True or false?

A

FALSE

Third-party federation is supported for both user pools and identity pools.

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

Amazon Cognito identity pools can provide credentials for unauthenticated users.

A

TRUE

Guest access is allowed.

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