Bird
0
0

You want to export a DynamoDB table Sales to S3 but only for data as it was exactly at 2024-05-01T12:00:00Z. Which approach correctly achieves this?

hard🚀 Application Q15 of 15
DynamoDB - Backup and Recovery
You want to export a DynamoDB table Sales to S3 but only for data as it was exactly at 2024-05-01T12:00:00Z. Which approach correctly achieves this?
ACreate a new table snapshot manually and export it
BExport the whole table and then filter data in S3
CUse <code>scan</code> API with a filter for that timestamp and export results manually
DUse <code>export-table-to-point-in-time</code> with <code>--export-time 2024-05-01T12:00:00Z</code> option
Step-by-Step Solution
Solution:
  1. Step 1: Understand point-in-time export

    The export-table-to-point-in-time command supports --export-time to export data as it was at a specific timestamp.
  2. Step 2: Compare other options

    Export the whole table and then filter data in S3 exports all data, not filtered by time. Use scan API with a filter for that timestamp and export results manually requires manual filtering and export. Create a new table snapshot manually and export it is not a valid DynamoDB feature.
  3. Final Answer:

    Use export-table-to-point-in-time with --export-time 2024-05-01T12:00:00Z option -> Option D
  4. Quick Check:

    Export with --export-time = point-in-time snapshot [OK]
Quick Trick: Use --export-time to get data at specific timestamp [OK]
Common Mistakes:
MISTAKES
  • Exporting full table then filtering externally
  • Trying to filter with scan API before export
  • Assuming manual snapshot creation is needed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes