dynamoDB Streams Flashcards

1
Q

What happens to DynamoDB stream records older than 24 hours?

A

Stream records older than 24 hours are removed.

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

How does DynamoDB handle writing stream records in relation to table performance?

A

DynamoDB writes stream records in near-real time without impacting the performance of the source table.

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

How are stream records ordered in DynamoDB?

A

Stream records are ordered based on the sequence of item-level modifications.

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

How many times does each record appear in a DynamoDB stream?

A

Each record appears exactly once in the stream.

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

What is the flow of data from DynamoDB to Lambda using DynamoDB Streams?

A

DynamoDB updates are sent to DynamoDB Streams, which then triggers a Lambda function.

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

What is the purpose of DynamoDB Time-To-Live (TTL)?

A

DynamoDB Time-To-Live (TTL) automatically expires an item based on a defined timestamp.

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

What happens to items once they expire due to TTL in DynamoDB?

A

Once expired, an item is marked for deletion.

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

What format must the TTL value be in for DynamoDB?

A

The TTL value must be in UNIX EPOCH format.

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

How does using TTL in DynamoDB save money?

A

TTL helps keep table sizes down, thus reducing costs associated with storage.

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

What types of data is DynamoDB TTL suitable for removing?

A

DynamoDB TTL is great for removing old irrelevant data such as session data, event logs, and temporary data.

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

What happens to items after they expire due to TTL in DynamoDB?

A

Expired TTL items are not deleted immediately and may still appear in queries. The duration for deletion depends on the table size and can take up to 48 hours.

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