dynamoDB Streams Flashcards
What happens to DynamoDB stream records older than 24 hours?
Stream records older than 24 hours are removed.
How does DynamoDB handle writing stream records in relation to table performance?
DynamoDB writes stream records in near-real time without impacting the performance of the source table.
How are stream records ordered in DynamoDB?
Stream records are ordered based on the sequence of item-level modifications.
How many times does each record appear in a DynamoDB stream?
Each record appears exactly once in the stream.
What is the flow of data from DynamoDB to Lambda using DynamoDB Streams?
DynamoDB updates are sent to DynamoDB Streams, which then triggers a Lambda function.
What is the purpose of DynamoDB Time-To-Live (TTL)?
DynamoDB Time-To-Live (TTL) automatically expires an item based on a defined timestamp.
What happens to items once they expire due to TTL in DynamoDB?
Once expired, an item is marked for deletion.
What format must the TTL value be in for DynamoDB?
The TTL value must be in UNIX EPOCH format.
How does using TTL in DynamoDB save money?
TTL helps keep table sizes down, thus reducing costs associated with storage.
What types of data is DynamoDB TTL suitable for removing?
DynamoDB TTL is great for removing old irrelevant data such as session data, event logs, and temporary data.
What happens to items after they expire due to TTL in DynamoDB?
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.