An automated backup is a daily backup of your RDS database that AWS performs automatically. It includes the database and transaction logs, allowing point-in-time recovery within the retention period.
Click to reveal answer
beginner
What is the difference between an RDS snapshot and an automated backup?
An RDS snapshot is a manual backup you create anytime and keep until you delete it. Automated backups happen daily and are retained only for a set period.
Click to reveal answer
intermediate
How long can automated backups be retained in RDS?
Automated backups can be retained from 0 (disabled) up to 35 days. After that, backups are deleted automatically.
Click to reveal answer
intermediate
Can you restore an RDS database to a specific point in time?
Yes, using automated backups and transaction logs, you can restore your database to any second within the backup retention period.
Click to reveal answer
intermediate
What happens to snapshots when you delete the original RDS instance?
Manual snapshots remain even after the original RDS instance is deleted. Automated backups are deleted with the instance.
Click to reveal answer
What type of backup in RDS is created automatically every day?
AIncremental snapshot
BManual snapshot
CExport backup
DAutomated backup
✗ Incorrect
Automated backups are created daily by AWS without user intervention.
How long can you keep automated backups in RDS?
AUp to 7 days
BUp to 14 days
CUp to 35 days
DIndefinitely
✗ Incorrect
Automated backups can be retained for up to 35 days.
Which backup type must you create manually in RDS?
AManual snapshot
BPoint-in-time recovery
CAutomated backup
DContinuous backup
✗ Incorrect
Manual snapshots are created by the user whenever needed.
What happens to automated backups when you delete an RDS instance?
AThey are deleted with the instance
BThey are retained indefinitely
CThey convert to manual snapshots
DThey are archived automatically
✗ Incorrect
Automated backups are deleted when the RDS instance is deleted.
Can you restore an RDS database to a specific second in the past?
ANo, only to the last snapshot
BYes, within the backup retention period
COnly if you have manual snapshots
DOnly if you export the data
✗ Incorrect
Point-in-time recovery allows restoring to any second within the retention period using automated backups.
Explain the difference between automated backups and manual snapshots in RDS.
Think about who controls the backup timing and how long backups last.
You got /4 concepts.
Describe how you can restore an RDS database to a specific point in time.
Consider what backups and logs are needed for precise recovery.
You got /4 concepts.
Practice
(1/5)
1. What is the main difference between automated backups and manual snapshots in AWS RDS?
easy
A. Automated backups are stored outside AWS; manual snapshots are stored inside AWS.
B. Automated backups happen daily and expire; manual snapshots are created on demand and kept until deleted.
C. Automated backups are created only when the user requests; manual snapshots happen automatically every hour.
D. Automated backups cannot be restored; manual snapshots can only be viewed.
Solution
Step 1: Understand automated backups
Automated backups run daily and keep data for a set retention period, after which they expire automatically.
Step 2: Understand manual snapshots
Manual snapshots are created by the user anytime and remain until explicitly deleted.
Final Answer:
Automated backups happen daily and expire; manual snapshots are created on demand and kept until deleted. -> Option B
Quick Check:
Backup type difference = Automated expire, manual keep [OK]
Hint: Automated expire, manual keep until delete [OK]
Common Mistakes:
Thinking manual snapshots expire automatically
Believing automated backups are user-triggered only
Confusing storage location of backups and snapshots
2. Which AWS CLI command correctly creates a manual snapshot of an RDS instance named mydbinstance?
easy
A. aws rds create-db-snapshot --db-instance-identifier mydbinstance --db-snapshot-identifier mydbsnapshot
B. aws rds backup-db-instance --instance mydbinstance --snapshot mydbsnapshot
C. aws rds snapshot-create --db-instance mydbinstance --snapshot-name mydbsnapshot
D. aws rds make-snapshot --db-instance-id mydbinstance --snapshot-id mydbsnapshot
Solution
Step 1: Identify correct AWS CLI syntax
The correct command to create a manual snapshot is aws rds create-db-snapshot with required flags.
Step 2: Match parameters
Use --db-instance-identifier for the instance and --db-snapshot-identifier for the snapshot name.
Final Answer:
aws rds create-db-snapshot --db-instance-identifier mydbinstance --db-snapshot-identifier mydbsnapshot -> Option A
A. The --region parameter is required for all commands.
B. The --db-instance-identifier value is incorrect and must be the snapshot name.
C. The --db-snapshot-identifier parameter with a snapshot name is missing.
D. The command must be run with sudo privileges.
Solution
Step 1: Check required parameters for create-db-snapshot
The command requires both --db-instance-identifier and --db-snapshot-identifier to name the snapshot.
Step 2: Identify missing parameter
The command lacks --db-snapshot-identifier, so AWS cannot create the snapshot without a name.
Final Answer:
The --db-snapshot-identifier parameter with a snapshot name is missing. -> Option C
Quick Check:
Missing snapshot ID causes error [OK]
Hint: Always provide snapshot name with --db-snapshot-identifier [OK]
Common Mistakes:
Forgetting to specify snapshot identifier
Assuming region is always mandatory
Thinking sudo is needed for AWS CLI commands
5. You want to keep daily backups of your RDS instance for 7 days automatically and also keep a manual snapshot before a major update that you want to keep indefinitely. Which combination of settings and actions achieves this?
hard
A. Create a manual snapshot daily and delete old ones after 7 days; no automated backups.
B. Disable automated backups and create 7 manual snapshots daily plus one before update.
C. Enable automated backups with 7-day retention and rely only on them for the update.
D. Enable automated backups with 7-day retention and create a manual snapshot before update.
Solution
Step 1: Set automated backups retention
Enable automated backups with a 7-day retention period to keep daily backups automatically.
Step 2: Create manual snapshot before update
Manually create a snapshot before the update to keep a permanent backup unaffected by retention.
Final Answer:
Enable automated backups with 7-day retention and create a manual snapshot before update. -> Option D