Cognito Flashcards

1
Q

Amazon ____ lets you add user sign-up, sign-in, and access control
to your web and mobile apps quickly and easily.

A

Cognito

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

Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Facebook, Google, and enterprise identity providers, such as Microsoft Active Directory.
True or False

A

True

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

With Amazon Cognito user pools groups, you can manage your users and their access to resources by mapping _____ to groups.

A

IAM roles

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

Benefits of Amazon Cognito ?

A
  1. Scalable user directory
  2. Social and enterprise identity federation
  3. Security for your apps and users
  4. Access control for AWS resources
  5. Easy integration with your app
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A user ___ is a user directory in Amazon Cognito.

A

pool

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

User pools provides :

A
  1. Sign-up and sign-in services.
  2. A built-in, customizable web UI to sign in users.
  3. Social sign-in with Facebook, Google, Amazon, Apple, as well as sign-in with SAML identity providers from your user pool.
  4. User directory management and user profiles.
  5. Security features such as multi-factor authentication (MFA), checks for compromised credentials, account takeover protection, and phone and email verification.
  6. Customized workflows and user migration through AWS Lambda triggers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

After successfully authenticating a user, Amazon Cognito issues ____that you can use to secure and authorize access to your own APIs, or exchange for AWS credentials.

A

JSON web tokens (JWT)

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

Using a JWT allows the token to be validated locally, without making an HTTP request back to the IdP, thereby increasing your application’s performance.
Applications can make use of data inside the token, further reducing expensive HTTP calls and database lookups.
True or False

A

True

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

JWT can be stored in a shared caching server so applications can scale out easily as servers don’t need to store user session.
True or False

A

True

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

____ is an open standard for access delegation, commonly used as a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords.

A

OAuth

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

_____ is an open standard for exchanging authentication and authorization data between parties, in particular, between an identity provider and a service provider

A

Security Assertion Markup Language (SAML)

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

____ is an XML-based markup language for security assertions. Used commonly for enterprise users.

A

SAML

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

AWS supports identity federation with SAML 2.0 that enables federated single sign-on (SSO), so users can log into the AWS Management Console or call the AWS API operations without you having to create an IAM user for everyone in your organization.
True or False

A

True

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

You can configure an app client for accessing Amazon Cognito from your application through SDK. You can also generate the client secret that is used by only application and authentication server (or another app), not communication between application and user! Never issue a client secret for public front-end apps like React. Instead, use only when authenticating microservice to microservice communication
True or False

A

True

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

User Pool App Client Token types

A
  1. Refresh token - Refresh Tokens are credentials used to obtain access tokens
  2. ID token - The ID Token is a security token granted by the OpenID Provider that contains information about an End-User. This information tells your client application that the user is authenticated, and can also give you information like their username or locale.
  3. Access token (Authorization) - Access tokens, on the other hand, are not intended to carry information about the user. They simply allow access to certain defined server resources.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Amazon Cognito Sync is an AWS service and client library that enables cross-device syncing of application-related user data. You can use it to synchronize user profile data across mobile devices and the web without requiring your own backend.
The client libraries cache data locally so your app can read and write data regardless of device connectivity status. When the device is online, you can synchronize data.
True or False

A

True