Skip to main content
InterviewHubPRO
Section Overview
Q49

Question 49 of 50

Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)

98%
Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)

DynamoDB Time to Live (TTL): Automatic Zero-Cost Deletion.

senior LevelSystem DesignDynamoDB

In Simple Words: DynamoDB TTL marks items for deletion based on an epoch timestamp attribute:

  • Background sweep processes automatically delete expired items within 48 hours.
  • Zero Cost: TTL deletions consume zero WCU and do not impact table provisioned throughput!
  • Deleted items are optionally captured in DynamoDB Streams for archiving to Amazon S3 Glacier.