Skip to main content
InterviewHubPRO
Section Overview
Q7

Question 7 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

14%
Amazon DynamoDB (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is DynamoDB Time to Live (TTL) and how does it work?

junior LevelDynamoDB

In Simple Words: TTL automatically expires and deletes items from a table at no additional cost (consumes 0 WCU):

  • You designate an attribute containing a Unix epoch timestamp in seconds (e.g. 1773993600).
  • A background worker scans the table and deletes expired items typically within 48 hours of expiration.
  • Deletions are published to DynamoDB Streams with a system identity indicator (eventName: REMOVE).