Challenge - 5 Problems
On-demand Backup Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ query_result
intermediate1:30remaining
What is the output of the backup status query?
You run the following AWS CLI command to list backups for a DynamoDB table named Users.
What key in the JSON output tells you the status of each backup?
aws dynamodb list-backups --table-name UsersWhat key in the JSON output tells you the status of each backup?
Attempts:
2 left
💡 Hint
Look for the key that describes if the backup is completed or in progress.
✗ Incorrect
The key "BackupStatus" in the output JSON shows the status of each backup, such as 'CREATING' or 'AVAILABLE'.
🧠 Conceptual
intermediate1:30remaining
Which statement about on-demand backups is true?
Consider these statements about DynamoDB on-demand backups. Which one is correct?
Attempts:
2 left
💡 Hint
Think about how backups affect normal table operations.
✗ Incorrect
On-demand backups in DynamoDB are designed to be created without affecting the table's availability or performance.
📝 Syntax
advanced2:00remaining
Which AWS CLI command correctly creates an on-demand backup?
You want to create an on-demand backup of a DynamoDB table named Orders. Which command is correct?
Attempts:
2 left
💡 Hint
Check the exact AWS CLI command syntax for creating backups.
✗ Incorrect
The correct AWS CLI command to create an on-demand backup is 'create-backup' with parameters --table-name and --backup-name.
❓ optimization
advanced1:30remaining
How to minimize costs when using on-demand backups?
You have many on-demand backups for a DynamoDB table. Which practice helps reduce storage costs?
Attempts:
2 left
💡 Hint
Think about how backup storage costs accumulate.
✗ Incorrect
Deleting old backups that are no longer needed helps reduce storage costs because backups consume storage space billed by AWS.
🔧 Debug
expert2:00remaining
Why does this backup creation command fail?
You run this command:
But it returns an error. What is the cause?
aws dynamodb create-backup --table-name Customers --backup-nameBut it returns an error. What is the cause?
Attempts:
2 left
💡 Hint
Check if all required parameters have values.
✗ Incorrect
The error occurs because the --backup-name parameter is given without a value, which is required.