An on-demand backup is a manual snapshot of your DynamoDB table data at a specific point in time. It lets you save the current state of your table without affecting its performance.
Click to reveal answer
beginner
How do on-demand backups affect the performance of a DynamoDB table?
On-demand backups do not impact the performance or availability of the DynamoDB table. You can continue to read and write data while the backup is being created.
Click to reveal answer
beginner
Can you restore a DynamoDB table from an on-demand backup?
Yes, you can restore a new DynamoDB table from an on-demand backup. The restored table will have the data exactly as it was when the backup was taken.
Click to reveal answer
intermediate
What is the retention period for on-demand backups in DynamoDB?
On-demand backups are retained until you explicitly delete them. There is no automatic expiration, so you control how long backups are kept.
Click to reveal answer
intermediate
How do you create an on-demand backup using AWS CLI for a DynamoDB table named 'Users'?
You run the command: aws dynamodb create-backup --table-name Users --backup-name UsersBackup This creates a backup named 'UsersBackup' of the 'Users' table.
Click to reveal answer
What happens to your DynamoDB table's availability during an on-demand backup?
AThe table becomes unavailable until backup completes
BWrites are blocked but reads continue
CThe table is read-only during backup
DThe table remains fully available for reads and writes
✗ Incorrect
On-demand backups do not affect table availability; reads and writes continue normally.
How long are on-demand backups stored in DynamoDB by default?
A30 days
BUntil manually deleted
C7 days
D90 days
✗ Incorrect
On-demand backups remain until you delete them; there is no automatic expiration.
Which AWS CLI command creates an on-demand backup for a DynamoDB table?
Aaws dynamodb backup-table
Baws dynamodb start-backup
Caws dynamodb create-backup
Daws dynamodb snapshot-table
✗ Incorrect
The correct command is 'aws dynamodb create-backup' to create an on-demand backup.
Can you restore a DynamoDB table from an on-demand backup to a different table name?
AYes, you can restore to a new table name
BOnly if the backup is less than 7 days old
COnly if the table is empty
DNo, you must restore to the original table name
✗ Incorrect
You can restore from an on-demand backup to a new table with a different name.
Which of the following is true about on-demand backups in DynamoDB?
AThey are manual snapshots created when you request
BThey impact table performance during backup
CThey automatically back up data every hour
DThey delete old backups automatically
✗ Incorrect
On-demand backups are manual snapshots created when you request them.
Explain what an on-demand backup is in DynamoDB and how it affects your table's availability.
Think about when you create the backup and what happens to your table during that time.
You got /4 concepts.
Describe the process and commands to create and restore an on-demand backup in DynamoDB.
Focus on the AWS CLI commands and what parameters you need.
You got /5 concepts.
Practice
(1/5)
1. What is the main purpose of on-demand backups in DynamoDB?
easy
A. To delete old data from the table
B. To automatically scale the table capacity
C. To encrypt data during transfer
D. To save a copy of your table data at any time for recovery
Solution
Step 1: Understand what on-demand backups do
On-demand backups let you save your DynamoDB table data whenever you want.
Step 2: Identify the main purpose
The main goal is to protect data and allow recovery if needed.
Final Answer:
To save a copy of your table data at any time for recovery -> Option D
Quick Check:
On-demand backups = save data anytime [OK]
Hint: Backups save data copies for recovery anytime [OK]
Common Mistakes:
Confusing backups with scaling features
Thinking backups delete data
Mixing encryption with backup purpose
2. Which AWS CLI command is used to create an on-demand backup of a DynamoDB table?
easy
A. aws dynamodb backup-table
B. aws dynamodb start-backup
C. aws dynamodb create-backup
D. aws dynamodb save-backup
Solution
Step 1: Recall the correct AWS CLI command for backups
The official command to create an on-demand backup is create-backup.
Step 2: Match the command with options
Only aws dynamodb create-backup matches the exact AWS CLI syntax.
Final Answer:
aws dynamodb create-backup -> Option C
Quick Check:
Command to create backup = create-backup [OK]
Hint: Remember 'create-backup' for making backups [OK]
Common Mistakes:
Using incorrect command names like start-backup
Confusing backup commands with table creation
Adding extra words not in AWS CLI syntax
3. What will happen if you run this AWS CLI command?
The correct command to create a backup is create-backup with table and backup names.
Step 2: Identify correct restore command
To restore, use restore-table-from-backup with target table name and backup ARN.
Step 3: Verify options
Only aws dynamodb create-backup --table-name Products --backup-name ProdBackup1 aws dynamodb restore-table-from-backup --target-table-name ProductsRestored --backup-arn uses the correct commands and parameters for both backup and restore.
Final Answer:
Use create-backup then restore-table-from-backup with backup ARN -> Option A
Quick Check:
Backup with create-backup, restore with restore-table-from-backup [OK]
Hint: Backup with create-backup, restore with restore-table-from-backup [OK]
Common Mistakes:
Using wrong commands like start-backup or backup-table
Missing backup ARN in restore command
Confusing restore parameters
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.