Serverless Flashcards

1
Q

AWS Lambda

A

Virtual function (no servers to manage)

  • limited to short executions
  • run on demand
  • automated scaling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Lambda@Edge

A

Lambda functions deployed alongside CloudFront CDN

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

DynamoDB

A

Serverless NoSQL database with replication across 3 AZ

- made of tables with a primary key

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

DynamoDB – Provisioned Throughput

A

Read Capacity Units (RCU): throughput for reads ($0.00013 per RCU)
• 1 RCU = 1 strongly consistent read of 4 KB per second
• 1 RCU = 2 eventually consistent read of 4 KB per second

Write Capacity Units (WCU): throughput for writes ($0.00065 per WCU)
• 1 WCU=1 write of 1KB per second

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

DAX

A

DynamoDB Accelerator (DAX) is seamless cache for DynamoDB

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

DynamoDB Streams

A

Intercept changes in DynamoDB (Create, Update, Delete)

The stream be read by AWS Lamnbda

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

DynamoDB Transactions

A

All or nothing type of operations (Insert, Update & Delete)

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

DynamoDB On Demand

A

Scalable capacity planning (WCU / RCU)

- 2.5x more expensive

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

DynamoDB Global Tables

A

Automatic replication of DynamoDB cross region

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

DynamoDB Capacity planning

A

Planned capacity for WCU & RCU

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

API Gateway

A

Enables public RESTful endpoints to clients

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

API Gateway - Endpoint Types

A
  • Edge-Optimized (default): For global clients
  • Regional: One region
  • Private: within a VPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

API Gateway - IAM Permissions

A

Allow permission of an endpoint their IAM permissions

- Leverages “Sig v4” capability where IAM credential are in headers

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

API Gateway - Lambda Authorizer

A

Uses AWS Lambda to validate the 3rd party auth tokens (OAuth/SAML) in header being passed

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

API Gateway - Cognito User Pools

A

Manages your own user pool (can be backed by Facebook, Google login etc…) and only helps with authentication not authorisation

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

AWS Cognito

A

Gives our users an identity so that they can interact with our application

17
Q

AWS Cognito User Pools (CUP)

A

Serverless database of users for you mobile app

  • Can enable Federated Identities (FB, Google)
  • uses JWT
18
Q

AWS Cognito – Federated Identity Pools

A

Similar to CUP, except the federated identity (token) is traded in for temporary credentials that can have IAM policies attached to them

19
Q

AWS Cognito (App) Sync

A

Store user preferences, configuration, state of app and must be used with Cognito Federated Identity Pool

20
Q

AWS SAM

A

Serverless Application Model is a framework for developing and deploying serverless applications
- configuration is in YAML code