0
0
DynamoDBquery~20 mins

On-demand backups in DynamoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
On-demand Backup Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
1: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.

aws dynamodb list-backups --table-name Users

What key in the JSON output tells you the status of each backup?
A"BackupArn"
B"BackupCreationDateTime"
C"BackupStatus"
D"BackupName"
Attempts:
2 left
💡 Hint
Look for the key that describes if the backup is completed or in progress.
🧠 Conceptual
intermediate
1:30remaining
Which statement about on-demand backups is true?
Consider these statements about DynamoDB on-demand backups. Which one is correct?
AOn-demand backups can be created without impacting table performance.
BOn-demand backups automatically delete after 7 days.
COn-demand backups require the table to be in read-only mode.
DOn-demand backups cannot be created for global tables.
Attempts:
2 left
💡 Hint
Think about how backups affect normal table operations.
📝 Syntax
advanced
2: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?
Aaws dynamodb backup-table --table Orders --name OrdersBackup1
Baws dynamodb make-backup --table-name Orders --backup-name OrdersBackup1
Caws dynamodb start-backup --table Orders --backup OrdersBackup1
Daws dynamodb create-backup --table-name Orders --backup-name OrdersBackup1
Attempts:
2 left
💡 Hint
Check the exact AWS CLI command syntax for creating backups.
optimization
advanced
1: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?
ADelete old backups that are no longer needed.
BCreate backups more frequently to have more restore points.
CKeep all backups indefinitely for safety.
DUse on-demand backups only during peak hours.
Attempts:
2 left
💡 Hint
Think about how backup storage costs accumulate.
🔧 Debug
expert
2:00remaining
Why does this backup creation command fail?
You run this command:

aws dynamodb create-backup --table-name Customers --backup-name

But it returns an error. What is the cause?
AThe table name 'Customers' does not exist.
BThe --backup-name parameter is missing a value.
CThe AWS CLI version does not support create-backup.
DThe command requires --region parameter.
Attempts:
2 left
💡 Hint
Check if all required parameters have values.