AWS Certified Cloud Practitioner — Question 916
A company is launching an application in the AWS Cloud. The application will use Amazon S3 storage. A large team of researchers will have shared access to the data. The company must be able to recover data that is accidentally overwritten or deleted.
Which S3 feature should the company turn on to meet this requirement?
Answer options
- A. Server access logging
- B. S3 Versioning
- C. S3 Lifecycle rules
- D. Encryption in transit and at rest
Correct answer: B
Explanation
S3 Versioning preserves multiple variants of an object in the same bucket, allowing users to easily recover and restore previous versions of files that have been accidentally deleted or overwritten. S3 Server access logging only tracks requests made to the bucket, while S3 Lifecycle rules automate object transitions and deletion rather than recovery. Encryption in transit and at rest secures the data but does not protect against accidental deletion or modification.