Bird
0
0

Why does DynamoDB Streams retain records for only 24 hours, and what is a best practice to handle this limitation?

hard📝 Conceptual Q10 of 15
AWS - DynamoDB
Why does DynamoDB Streams retain records for only 24 hours, and what is a best practice to handle this limitation?
ATo ensure data consistency; best practice is to enable global tables
BTo limit storage costs; best practice is to process and archive records promptly
CTo improve read performance; best practice is to increase read capacity units
DTo reduce network traffic; best practice is to batch stream reads
Step-by-Step Solution
Solution:
  1. Step 1: Understand retention reason

    Streams retain data for 24 hours to control storage costs and resource usage.
  2. Step 2: Identify best practice

    Applications should process and archive stream records within this window to avoid data loss.
  3. Final Answer:

    To limit storage costs; best practice is to process and archive records promptly -> Option B
  4. Quick Check:

    24-hour retention = cost control + prompt processing [OK]
Quick Trick: Process streams quickly to avoid losing data after 24 hours [OK]
Common Mistakes:
MISTAKES
  • Thinking retention is for performance
  • Confusing retention with consistency
  • Ignoring need to archive data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes