Skill 4.3.4
Protect data against ransomware and accidental deletion (for example, by using Amazon S3 Object Lock, Amazon EBS snapshot lock, AWS Backup Vault Lock).
Key Concepts
S3 Object Lock stores objects as write once, read many (WORM): compliance mode prevents anyone, including the root user, from deleting or overwriting a version before its retention date; governance mode allows users with a special permission to bypass it; legal holds prevent deletion indefinitely. Versioning and MFA delete protect against accidental deletion. EBS snapshot lock locks individual snapshots in compliance or governance mode for a set duration.
AWS Backup Vault Lock in compliance mode makes a vault's retention settings immutable after a cooling-off period, so recovery points cannot be deleted early. Logically air-gapped vaults are locked by default, store backups in isolated, AWS-owned accounts outside the source account's control and can be shared through AWS RAM with a recovery account, so restores work even when the source account is compromised. Copies to a separate backup account in another Region, restricted by SCPs, and regular restore tests complete the design.