Design Secure Architectures

A user deletes an object from a versioning-enabled Amazon S3 bucket without specifying a version ID. Previous versions remain available. How should a solutions architect restore access through the object's original URL?

Show the answer

Correct answerA. Remove the object's current delete marker.

AWhy this is right: Removing the current delete marker exposes the previous version through the original object key.

BWhy not this: Versioning cannot be disabled after activation, and suspending it would not remove the delete marker.

CWhy not this: Read permissions do not remove a delete marker or make an earlier version current.

DWhy not this: Archive retrieval applies to archived data, not to an object hidden by a delete marker.

Removing the current delete marker makes the previous object version current and accessible through the original URL. Additional GetObject permissions cannot make an ordinary GET return an object whose current version is a delete marker.