Ransomware encrypted your primary database and the backups in the same account.
AdvancedScenarioBackup & Disaster Recovery
Answer
Situation read → Backups were not isolated. Recovery depends on any copies outside the blast radius.
What I'd do →
- Declare a security incident; isolate affected systems and involve security and legal.
- Look for any offsite or cross-account copies, snapshots, or replicas not affected.
- Restore to a clean environment after confirming the attack vector is closed.
- Postmortem: implement immutable backups (S3 Object Lock in compliance mode, AWS Backup Vault Lock), cross-account copies, least-privilege backup roles, MFA for deletions.
Why → Backups must be protected from the same threats as primary data.
Interview tip → Mention immutability and account isolation.
More on Backup & Disaster Recovery
You discover nobody has tested a database restore in two years.BeginnerThe business asks for RPO 0 and RTO 5 minutes for every service.IntermediatePlan a DR drill for a Kubernetes-based application with a PostgreSQL database.IntermediateYour restore takes 6 hours but the RTO is 1 hour.IntermediateA developer accidentally deleted a Kubernetes namespace in production.BeginnerHow do you prove to auditors that your DR plan works?Intermediate