Bird
0
0

A developer tries to enable PITR on a table but uses the command:

medium📝 Debug Q7 of 15
DynamoDB - Backup and Recovery
A developer tries to enable PITR on a table but uses the command:
aws dynamodb update-table --table-name Products --point-in-time-recovery Enabled=true
Why does this command fail?
AThe table name is invalid
BThe parameter name is incorrect; it should be --point-in-time-recovery-specification
CPITR cannot be enabled via CLI
DThe command requires a region flag
Step-by-Step Solution
Solution:
  1. Step 1: Check correct parameter name for enabling PITR

    The correct parameter is --point-in-time-recovery-specification, not --point-in-time-recovery.
  2. Step 2: Validate other options

    Table name is valid, PITR can be enabled via CLI, and region flag is optional if configured.
  3. Final Answer:

    The parameter name is incorrect; it should be --point-in-time-recovery-specification -> Option B
  4. Quick Check:

    Correct CLI parameter = --point-in-time-recovery-specification [OK]
Quick Trick: Use full parameter name --point-in-time-recovery-specification [OK]
Common Mistakes:
MISTAKES
  • Using wrong parameter names
  • Assuming CLI can't enable PITR
  • Forgetting region config

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes