Data Store Management

An application accidentally deletes an object from a versioning-enabled S3 bucket without specifying a version ID. The previous versions remain intact. Recovery must make the most recent data version current again with its original version ID, without creating a new version. What should the engineer do?

Show the answer

Correct answerA. Delete the current delete marker by specifying its version ID.

AWhy this is right: Removing the current delete marker makes the previous version current again while preserving existing version IDs.

BWhy not this: Suspending versioning and uploading does not restore the existing version as current.

CWhy not this: Copying the data creates a new version with a new version ID.

DWhy not this: An unqualified delete adds another delete marker rather than removing the existing marker.

Deleting the current delete marker exposes the previous version without changing its version ID. Copying an older version to the same key creates a new version rather than simply exposing the existing one.