AWS Certified Cloud Practitioner — Question 531
A company is storing sensitive customer data in an Amazon S3 bucket. The company wants to protect the data from accidental deletion or overwriting.
Which S3 feature should the company use to meet these requirements?
Answer options
- A. S3 Lifecycle rules
- B. S3 Versioning
- C. S3 bucket policies
- D. S3 server-side encryption
Correct answer: B
Explanation
S3 Versioning protects data from accidental deletion or overwriting by retaining multiple versions of an object in the same bucket, allowing previous states to be restored. In contrast, S3 Lifecycle rules automate object transition and expiration, S3 bucket policies control access permissions, and S3 server-side encryption protects data confidentiality at rest.