Bird
0
0

Given the following AWS CLI command, what will happen?

medium📝 query result Q13 of 15
DynamoDB - Backup and Recovery
Given the following AWS CLI command, what will happen?
aws dynamodb restore-table-to-point-in-time --source-table-name Sales --target-table-name SalesBackup --restore-date-time 1714564800
AA new table named SalesBackup will be created with data from May 1, 2024, 12:00 UTC
BThe Sales table will be overwritten with data from May 1, 2024, 12:00 UTC
CThe Sales table will be backed up without changes
DThe command will fail because restore-date-time is invalid
Step-by-Step Solution
Solution:
  1. Step 1: Understand restore-table-to-point-in-time behavior

    This command creates a new table with the restored data; it does not overwrite the source table.
  2. Step 2: Analyze command parameters

    The --target-table-name SalesBackup means the restored data goes into a new table named SalesBackup.
  3. Final Answer:

    A new table named SalesBackup will be created with data from May 1, 2024, 12:00 UTC -> Option A
  4. Quick Check:

    Restore creates new table = SalesBackup [OK]
Quick Trick: Restore always creates new table, original stays safe [OK]
Common Mistakes:
MISTAKES
  • Thinking restore overwrites original table
  • Confusing backup with restore commands
  • Assuming restore-date-time format is invalid

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes