Bird
0
0

Given this DynamoDB item with TTL attribute expireAt: 1700000000 (Unix epoch seconds), what happens when current time is 1700000001?

medium📝 Predict Output Q13 of 15
AWS - DynamoDB
Given this DynamoDB item with TTL attribute expireAt: 1700000000 (Unix epoch seconds), what happens when current time is 1700000001?
AItem remains until manually deleted
BItem's TTL attribute is reset to current time
CItem is archived to S3 automatically
DItem is immediately deleted by DynamoDB TTL process
Step-by-Step Solution
Solution:
  1. Step 1: Compare current time with TTL value

    The current time (1700000001) is greater than the TTL attribute (1700000000), so the item is expired.
  2. Step 2: Understand TTL behavior on expiration

    DynamoDB TTL automatically deletes expired items shortly after expiration time passes.
  3. Final Answer:

    Item is immediately deleted by DynamoDB TTL process -> Option D
  4. Quick Check:

    Current time > TTL = item deleted [OK]
Quick Trick: Item deletes soon after TTL time passes [OK]
Common Mistakes:
  • Thinking TTL deletes instantly at exact second
  • Assuming manual deletion is needed
  • Believing TTL archives data instead of deleting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes