AWS Certified Cloud Practitioner (CLF-C02) — Question 25

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

Correct answer: B

Explanation

S3 Versioning allows for the preservation of all versions of an object in the bucket, thus protecting against accidental deletion or overwriting. The other options, such as S3 Lifecycle rules, are used for managing the lifecycle of objects, while bucket policies and server-side encryption focus on access control and data protection but do not prevent deletion or overwriting.