0
0
DynamoDBquery~20 mins

Point-in-time recovery (PITR) in DynamoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
PITR Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
2:00remaining
PITR Status Check
You have enabled Point-in-time recovery (PITR) on a DynamoDB table named Orders. Which query will correctly show the current PITR status of this table?
DynamoDB
aws dynamodb describe-continuous-backups --table-name Orders
Aaws dynamodb describe-continuous-backups --table-name Orders
Baws dynamodb get-backup --table-name Orders
Caws dynamodb describe-table --table-name Orders
Daws dynamodb list-backups --table-name Orders
Attempts:
2 left
💡 Hint
Look for the command that specifically describes continuous backups.
🧠 Conceptual
intermediate
1:30remaining
Understanding PITR Recovery Window
What is the maximum time window for which you can restore a DynamoDB table using Point-in-time recovery (PITR)?
AUp to 90 days before the restore time
BUp to 7 days before the restore time
CUp to 35 days before the restore time
DUp to 24 hours before the restore time
Attempts:
2 left
💡 Hint
Think about how long AWS retains continuous backups for PITR.
📝 Syntax
advanced
2:00remaining
Enable PITR Using AWS CLI
Which AWS CLI command correctly enables Point-in-time recovery (PITR) on a DynamoDB table named Customers?
Aaws dynamodb update-continuous-backups --table-name Customers --point-in-time-recovery-specification PointInTimeRecoveryEnabled=true
Baws dynamodb enable-pitr --table-name Customers
Caws dynamodb update-table --table-name Customers --enable-pitr true
Daws dynamodb set-pitr --table Customers --enabled
Attempts:
2 left
💡 Hint
The command uses 'update-continuous-backups' with a specific JSON flag.
optimization
advanced
2:00remaining
Cost Optimization with PITR
You want to minimize costs while using PITR on a DynamoDB table. Which practice helps reduce unnecessary charges related to PITR?
AKeep PITR enabled continuously but delete old backups manually
BEnable PITR only when critical data changes are expected and disable it otherwise
CEnable PITR on all tables regardless of usage
DEnable PITR only during business hours and disable it after hours
Attempts:
2 left
💡 Hint
PITR charges apply while it is enabled, so controlling enablement timing helps.
🔧 Debug
expert
2:30remaining
Troubleshooting PITR Restore Failure
You tried to restore a DynamoDB table using PITR to a point 40 days ago, but the restore failed. What is the most likely reason?
AThe table was not enabled for PITR at the time of the restore point
BThe AWS CLI command used for restore was missing the --restore-date parameter
CThe restore operation requires the table to be empty before restoring
DPITR only retains data for the last 35 days, so 40 days is outside the recovery window
Attempts:
2 left
💡 Hint
Consider the maximum retention period for PITR backups.