Bird
0
0

You run this command to restore a table:

medium📝 Debug Q14 of 15
DynamoDB - Backup and Recovery
You run this command to restore a table:
aws dynamodb restore-table-to-point-in-time --source-table-name Inventory --target-table-name Inventory --restore-date-time 1704067200

But it fails with an error. What is the likely cause?
AThe source table does not have PITR enabled
BThe target table name must be different from the source table name
CThe command is missing the restore-date-time parameter
DThe AWS CLI version is outdated
Step-by-Step Solution
Solution:
  1. Step 1: Check restore-table-to-point-in-time requirements

    The target table name must be unique and cannot be the same as the source table.
  2. Step 2: Analyze the command error cause

    Using the same name for source and target causes a conflict and failure.
  3. Final Answer:

    The target table name must be different from the source table name -> Option B
  4. Quick Check:

    Target table name ≠ source table name [OK]
Quick Trick: Target table name must differ from source table name [OK]
Common Mistakes:
MISTAKES
  • Assuming restore overwrites existing table
  • Overlooking that PITR must be enabled on the source table
  • Blaming AWS CLI version without checking names

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes