Chapter 13 Serverless Applications Flashcards

1
Q

Endpoint types for API Gateway

A
  1. Regional endpoints: inside AWS region
  2. Edge Optimized Region: connection points via CF edge locations
  3. Private Endpoints: only live inside a VPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

For API Gateway, what is a ‘stage’?

A

A named reference to a deployment, which is a snapshot of the API.

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

What is a canary release?

A

When you launch a deployment and allow original deployment to remain. Only a small portion of traffic is routed to the new deployment.

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

Amazon Cognito User Pools

A

secure, scalable user directories, works with SAML and providers like Facebook. It produces a JWT. This is the basic web app service that it most applicable.

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

Amazon Cognito Identity Pools

A

social and enterprise identity federation which acts as gatekeeper for accessing AWS resources

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

What is device tracking and remembering?

A

Cognito feature which allows service to remember client device so that in MFA scenario user doesn’t have to provide token again after absence of activity.

User still has to go through MFA process initially though.

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

For devices in Cognito, all devices are 1. _____ using a 2. ______, but only some are 3. ______

A
  1. tracked
  2. key pair
  3. remembered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Aurora is 1. ____ way replication across 2. _____ AZs

A
  1. six

2. three

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

AWS SAM is an extension of ______

A

AWS Cloudformation.

SAM is beneficial because it allows you to easily tie Lambda functions with a SAM specific concept called an ‘event’. This event could be something like an API Gateway endpoint.

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

Three main benefits of serverless model

A
  1. no server management
  2. flexible scaling
  3. automated high availability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How to secure your APIs with API Gateway?

A

Use Gateway to setup authorizers with Amazon Cognito user pools on an AWS Lambda Function

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

Where can you look at common use cases and their AWS solutions for serverless deployments?

A

AWS Serverless Application Repository

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

What communication protocol/s does API Gateway support?

A

It only supports HTTPS and websockets

Remember, that means no “HTTP”!

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

Does Amazon Cognito support device tracking and remembering?

A

yes

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