Serverless - DynamoDB Flashcards

1
Q

What type of database is DynamoDB?

A

DynamoDB is a fully managed, highly available, NoSQL database that supports transactional operations.

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

What are key characteristics of DynamoDB?

A

Cloud-native, distributed architecture
Single-digit millisecond performance
Data replication across multiple AZs
Infinite scalability for millions of requests per second

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

When should you choose On-Demand Mode over Provisioned Mode for DynamoDB?

A

Unpredictable workloads with sudden spikes.
Low-usage workloads, e.g., a few transactions per day.

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

When is DynamoDB a better choice than RDS or Aurora?

A

When the schema evolves rapidly or the application requires high scalability and low latency.

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

What is DynamoDB Accelerator (DAX)?

A

DAX is a fully-managed, in-memory cache for DynamoDB, providing microsecond latency for cached data.

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

What is DynamoDB Streams?

A

DynamoDB Streams provides a log of create, update, and delete operations on a table, retained for 24 hours. It integrates well with Lambda for triggers.

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

When should you use Kinesis Data Streams over DynamoDB Streams?

A

Use Kinesis Data Streams for:

Up to 1-year retention
Higher consumer limits
Advanced processing (e.g., with Firehose, Analytics, or Glue ETL).

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