AWS Cogneto Flashcards

1
Q

What is AWS Cognito?

A

Mobile-based auth and identity, where you can have the user management like, create, modify, delete and reset password done for you. You can also have external web-based identity providers integrated.

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

I require OAuth2 with my mobile application, what service could I use?

A

Cognito supports

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

I require OIDC with my mobile application, what service could I use?

A

Cognito supports

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

I require JWTs with my mobile application, what service could I use?

A

Cognito supports

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

How can I use Cognito to provide delegated access?

A

You can, deligated access is only available through AWS IAM, Cognito is for user management and web-based federation.

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

What is OIDC?

A

Open ID connect

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

What is JWT?

A

Java web token

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

What is in a JWT?

A

Header
Payload
Signing

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

What are the two main sections/services in reference to Cognito?

A

User pools

Identity pools

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

I wnat to build an application fast and what to offload user UI management like user sign up, pass-reset, etc to service, what options do I have?

A

Cognito user pools offer this ability

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

I am building a web-based application and I would like the ability to have social bast authentication in my application, what is my best option?

A

Cognito identity pools

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

Is MFA supported by user management?

A

Yes 100%

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

Can you customize the user pool user UI interface?

A

Yes 100%

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

Can you use identity and user pools at the same time?

A

Yes 100%

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

As part of my signup, I require SMS verification and email verification, what is my option if I do not wnat to build it in my app to save time?

A

You can use Cognito

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

I wnat to use custom flows to the auth and sign up and even messages in Cognito, is this possible?

A

Yes 100%, using lambda

17
Q

What service does Cognito integrate with?

A

API Gateway

AWS ALB

18
Q

I have an application that uses ALB and being it is my app in an autoscaling group, I have been asked to add OAUTH authorization, how cna I do this?

A

The ALB has the ability to integrate with Cognito and Cognito supports OAUTH, So you have Cogneto preform the oTHUH for the user and provide the token to the ALB.

19
Q

I have an application that uses API with s my app in an autoscaling group, I have been asked to add OAUTH authorization, how cna I do this?

A

The API has the ability to integrate with Cognito and Cognito supports OAUTH, So you have Cogneto preform the oTHUH for the user and provide the token to the API GW.

20
Q

I have a mobile application, I intend to use a SynamoDBtable for each user to enable the user to store information but I need that ability to authorise again DynamoDB, what is my best option?

A

Cogneto can be used, Cognito will auth thet user and retrieve an STS token that cna be used to call other AWS services.

21
Q

When using user identity in Cogneto, what MFA types are supported MFA?

A
  • email

- sms

22
Q

When Cognito is used to sign in from say google account, what is returned by Cognito?

A

STS access key and secret key

23
Q

When Cognito is used to sign in from say google account, what is returned by Cognito?

A

STS access key and secret key