By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
(AWS Solutions Architect – Associate)
You’re a cloud engineer at a fintech startup. Your CTO just got off a call with the board: "We need a bulletproof backup strategy—if our primary AWS region goes down, we must recover in under 30 minutes. And by the way, compliance requires 7-year retention for all financial data."
This is where AWS Backup and cross-region backups come in.- AWS Backup is a centralized, policy-driven service that automates backups for AWS resources (EC2, RDS, EBS, DynamoDB, EFS, etc.).- Cross-region backups copy your backups to a secondary AWS region, giving you disaster recovery (DR) if your primary region fails (e.g., us-east-1 outage).
Why this matters in production:- Without backups: A single DELETE command, ransomware attack, or region outage could wipe out your data permanently.- Without cross-region backups: If your primary region goes down (e.g., AWS outage, natural disaster), you’re offline until it recovers.- With AWS Backup + cross-region: - Automate backups (no manual scripts). - Meet compliance (e.g., HIPAA, GDPR, SOX). - Recover fast (RTO = Recovery Time Objective). - Save money (no over-provisioning storage).
DELETE
Real-world scenario:You inherit a legacy AWS environment where backups are done via cron jobs and S3 copies. The scripts are brittle, retention is inconsistent, and there’s no cross-region protection. Your mission: Replace this with AWS Backup, enforce 30-day retention, and replicate backups to us-west-2 for DR.
us-west-2
Backup:Daily
BackupJob
backup:CreateBackup
backup:CopyIntoRegion
AWSBackupFullAccess
us-east-1
aws backup create-backup-vault \ --backup-vault-name "PrimaryBackupVault" \ --region us-east-1
Verify:
aws backup describe-backup-vault --backup-vault-name "PrimaryBackupVault" --region us-east-1
aws backup create-backup-vault \ --backup-vault-name "DRBackupVault" \ --region us-west-2
Save this as backup-plan.json:
backup-plan.json
{ "BackupPlan": { "BackupPlanName": "RDS-Daily-Backup-Plan", "BackupPlanRule": [ { "RuleName": "DailyBackup", "TargetBackupVault": "PrimaryBackupVault", "ScheduleExpression": "cron(0 5 * * ? *)", # 5 AM UTC daily "StartWindowMinutes": 60, "CompletionWindowMinutes": 180, "Lifecycle": { "DeleteAfterDays": 30 # Retain for 30 days }, "CopyActions": [ { "DestinationBackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:DRBackupVault", "Lifecycle": { "DeleteAfterDays": 30 } } ] } ] } }
Apply the plan:
aws backup create-backup-plan --backup-plan file://backup-plan.json --region us-east-1
aws backup create-backup-selection \ --backup-plan-id $(aws backup list-backup-plans --query "BackupPlans[?BackupPlanName=='RDS-Daily-Backup-Plan'].BackupPlanId" --output text --region us-east-1) \ --backup-selection '{ "SelectionName": "RDS-Backup-Selection", "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/AWSBackupDefaultServiceRole", "Resources": ["arn:aws:rds:us-east-1:123456789012:db:my-database"] }' \ --region us-east-1
aws backup list-backup-jobs --region us-east-1
AWSBackupDefaultServiceRole
json { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "backup:CreateBackup", "backup:CopyIntoRegion", "rds:CreateDBSnapshot" ], "Resource": "*" } ] }
bash aws backup put-backup-vault-access-policy \ --backup-vault-name "PrimaryBackupVault" \ --policy '{ "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Principal": "*", "Action": "backup:DeleteBackupVault", "Resource": "*" } ] }'
Backup:Weekly
BackupJobFailed
NumberOfBackupJobsFailed
NumberOfBackupJobsCompleted
BackupSizeInBytes
CopyActions
DeleteAfterDays
AccessDenied
backup:*
❌ S3 Versioning (only for S3)
"You need to retain backups for 7 years for compliance. What’s the most cost-effective way?"
❌ Keep all backups in S3 Standard (expensive)
"How do you ensure backups are available if us-east-1 fails?"
aws s3 cp
Challenge:"You have an EC2 instance in us-east-1. Set up a Backup Plan that: 1. Takes daily backups at 3 AM UTC. 2. Retains backups for 14 days. 3. Copies backups to us-west-2 for DR. 4. Test a restore."
Solution:1. Create a Backup Vault in us-east-1 and us-west-2.2. Create a Backup Plan with: json { "BackupPlanName": "EC2-Daily-Backup", "BackupPlanRule": [ { "RuleName": "DailyBackup", "TargetBackupVault": "PrimaryBackupVault", "ScheduleExpression": "cron(0 3 * * ? *)", "Lifecycle": { "DeleteAfterDays": 14 }, "CopyActions": [{ "DestinationBackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:DRBackupVault" }] } ] } 3. Assign the EC2 instance to the Backup Plan.4. Restore the EC2 instance from a recovery point.
json { "BackupPlanName": "EC2-Daily-Backup", "BackupPlanRule": [ { "RuleName": "DailyBackup", "TargetBackupVault": "PrimaryBackupVault", "ScheduleExpression": "cron(0 3 * * ? *)", "Lifecycle": { "DeleteAfterDays": 14 }, "CopyActions": [{ "DestinationBackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:DRBackupVault" }] } ] }
Why it works:- The CopyActions field ensures cross-region replication.- DeleteAfterDays: 14 enforces retention.
DeleteAfterDays: 14
aws backup create-backup-vault
--backup-vault-name "PrimaryVault"
aws backup create-backup-plan
--backup-plan file://plan.json
aws backup create-backup-selection
--resources "arn:aws:ec2:..."
StartWindowMinutes
CompletionWindowMinutes
aws backup start-restore-job --recovery-point-arn ...
Final Tip:"Backups are like insurance—you only realize their value when disaster strikes. Test your restores monthly, and never assume a backup exists until you’ve verified it." ?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.