Bird
0
0

Which AWS CLI command enables Point-in-time recovery (PITR) on a DynamoDB table named Orders?

easy📝 Syntax Q12 of 15
DynamoDB - Backup and Recovery
Which AWS CLI command enables Point-in-time recovery (PITR) on a DynamoDB table named Orders?
Aaws dynamodb restore-table-to-point-in-time --table-name Orders --enable-pitr
Baws dynamodb enable-pitr --table Orders
Caws dynamodb update-continuous-backups --table-name Orders --point-in-time-recovery-specification PointInTimeRecoveryStatus=ENABLED
Daws dynamodb start-backup --table-name Orders --pitr true
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct command to enable PITR

    The command to enable PITR is update-continuous-backups with the flag --point-in-time-recovery-specification PointInTimeRecoveryStatus=ENABLED.
  2. Step 2: Check options for syntax correctness

    aws dynamodb update-continuous-backups --table-name Orders --point-in-time-recovery-specification PointInTimeRecoveryStatus=ENABLED matches the correct syntax; others use invalid commands or flags.
  3. Final Answer:

    aws dynamodb update-continuous-backups --table-name Orders --point-in-time-recovery-specification PointInTimeRecoveryStatus=ENABLED -> Option C
  4. Quick Check:

    Enable PITR = update-continuous-backups with PointInTimeRecoveryStatus=ENABLED [OK]
Quick Trick: Enable PITR with update-continuous-backups and PointInTimeRecoveryStatus=ENABLED [OK]
Common Mistakes:
MISTAKES
  • Using non-existent commands like enable-pitr
  • Confusing backup start with PITR enable
  • Trying to enable PITR during restore

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes