Section 19: Serverless Flashcards

1
Q

What is DynamoDB?

A

DynamoDB is a fully managed, serverless, highly available, distributed NoSQL DB that scales to massive workloads and can be replicated across multiple AZs

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

Are DynamoDB items good for storing large objects?

A

No, DynamoDB items are not good for storing large objects as their maximum size is only 400kb

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

What is the maximum Lambda execution time?

A

15 minutes

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

What is Lambda@Edge?

A

Lambda@Edge is when you deploy Lambda alongside a CloudFront distribution network (edge locations)

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

What are the three (3) main benefits of Lambda@Edge?

A

1) More responsive apps
2) Global reach
3) User prioritization

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

What are the two read/write DynamoDB capacity modes?

A

1) Provisioned mode (default)
2) On-demand mode

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

Explain DynamoDB on-demand read/write mode

A

Automatically scales with workloads, requiring no capacity planning. It is great for unpredictable workloads but is 2/3x more expensive than provisioned.

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

Explain DynamoDB provisioned read/write mode

A

You specify the number of read/writes per second and plan capacity before hand. Cheaper.

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

What is DynamoDB Accelerator (DAX)?

A

DAX is a fully managed, highly available seamless in-memory cache for Dynamo DB.

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

What is a common architecture with DAX and DynamoDB?

A

DAX sits in front of DynamoDB

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

How does DAX enhance DynamoDB?

A

It caches the most used data from DynamoDB solving read congestion, and offloads heavy reads to DynamoDB when it needs to.

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

What is a DynamoDB global table? What is the prerequisite to enabling global tables?

A

DynamoDb Global Tables are DynamoDb tables that are made accessible with low latency in multiple regions. Apps can read and write to the table in any region it exists.

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

What is Amazon API Gateway?

A

AWS API Gateway is a serverless service that enables stateless communication between a client and server.

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

What are the three API Gateway endpoint types?

A

1) Edge-optimized (default) for global clients
2) Regional (for clients within same region)
3) Private (for VPCs)

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

What are the two most key API Gateway integrations?

A

Lambda invocations via API Gateway and HTTP endpoints for backend use.

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