Interview Prep/AWS/Storage and Databases

What are DynamoDB Streams, TTL and global tables?

AdvancedConceptStorage and Databases
Answer

Streams emit an ordered, 24-hour change log per item, used to trigger Lambda for CDC and materialized views. TTL deletes expired items (epoch seconds attribute) at no write cost, typically within 48 hours of expiry, and expirations appear in streams. Global tables provide multi-Region, multi-active replication with last-writer-wins conflict resolution.

Global tables need streams enabled and a plan for conflicting concurrent writes to the same item.

aws All AWS questions Roadmap: AWS core services

More on Storage and Databases