SOA-C02 · Question #188
With the threat of ransomware viruses encrypting and holding company data hostage, which action should be taken to protect an Amazon S3 bucket?
The correct answer is C. Enable Amazon S3 versioning on the bucket. Enabling S3 versioning (C) protects against ransomware by preserving previous versions of objects - if attackers encrypt or overwrite your files, you can restore clean versions from before the attack, making versioning the most direct defense against this specific threat…
Question
With the threat of ransomware viruses encrypting and holding company data hostage, which action should be taken to protect an Amazon S3 bucket?
Options
- ADeny Post, Put, and Delete on the bucket.
- BEnable server-side encryption on the bucket.
- CEnable Amazon S3 versioning on the bucket.
- DEnable snapshots on the bucket.
How the community answered
(27 responses)- A11% (3)
- B4% (1)
- C81% (22)
- D4% (1)
Explanation
Enabling S3 versioning (C) protects against ransomware by preserving previous versions of objects - if attackers encrypt or overwrite your files, you can restore clean versions from before the attack, making versioning the most direct defense against this specific threat. Denying POST, PUT, and DELETE (A) would break normal bucket operations and prevent legitimate writes, making it impractical for a functioning system. Server-side encryption (B) protects data at rest from unauthorized access, but it doesn't help when ransomware uses your own credentials to overwrite files - the encrypted ransomware payload would just be encrypted at rest too. Snapshots (D) are not a native S3 feature (that concept applies to EBS volumes), so this is a distractor drawing on familiarity with other AWS services.
Memory tip: Think "version = undo button" - versioning lets you roll back to a clean state, which is exactly what ransomware recovery requires.
Topics
Community Discussion
No community discussion yet for this question.