AWS Certified Data Engineer – AssociateData Storage and ManagementMedium

A large e-commerce company uses Amazon S3 to store operational data, including customer orders and product catalog information. This data is constantly being updated and new versions are frequently created. The company needs to retain all versions of an object for compliance and to allow for recovery from accidental deletions or overwrites. Which S3 feature should be enabled on the bucket?

  1. AS3 Versioning
  2. BS3 Access Logging
  3. CS3 Replication
  4. DS3 Object Lock
Show answer & explanation

Correct answer: A. S3 Versioning

S3 Versioning keeps multiple versions of an object in the same bucket, allowing for recovery from accidental deletions or overwrites, directly addressing the requirement to retain all versions.

Why the other options are wrong

  • B. S3 Access Logging records requests made to an S3 bucket, which is for auditing, not for retaining object versions.
  • C. S3 Replication copies objects between S3 buckets for redundancy or latency, but it doesn't inherently manage multiple versions within the source bucket.
  • D. S3 Object Lock prevents objects from being deleted or overwritten for a fixed amount of time or indefinitely, but it doesn't automatically keep versions of an object as it changes.

Amazon S3 Versioning

Amazon S3 Versioning allows you to keep multiple versions of an object in the same bucket, providing protection against accidental overwrites, deletions, and enabling easy recovery of previous object states.

  • Retains multiple object versions
  • Protects against accidental overwrites/deletions
  • Can recover previous object states
  • Uses version IDs to distinguish objects

Memory trick: Versioning keeps every version, never losing a thing.

More Data Storage and Management questions