AWS Certified SysOps Administrator – Associate (legacy) — Question 400
An organization stores files on Amazon S3. Employees download the files, edit them with the same file name to the same folder on Amazon S3. Occasionally the files are unintentionally modified or deleted.
What is the MOST cost-effective way to ensure that these files can be recovered to their correct state?
Answer options
- A. Enable cross-region replication on the Amazon S3 bucket
- B. Enable versioning on the Amazon S3 bucket
- C. Use Lifecycle Management to move the files to Amazon Glacier
- D. Copy the edited files to Amazon Elastic File System
Correct answer: B
Explanation
Enabling versioning on the Amazon S3 bucket is the most cost-effective and direct method to recover from accidental deletions or overwrites, as it retains multiple variants of an object in the same bucket. Cross-region replication (Option A) and copying to Amazon Elastic File System (Option D) introduce unnecessary data transfer and storage costs without directly addressing simple version recovery. Transitioning files to Amazon Glacier via Lifecycle Management (Option C) is intended for long-term archiving rather than immediate recovery of active, frequently edited files.