An S3 bucket uses versioning and Object Lock compliance-mode retention. A developer with s3:DeleteObject permission deletes a protected report without specifying a version ID, and the report no longer appears in normal listings. What is the state of the protected data?
Show the answer
Correct answerA. S3 added a delete marker; the locked version still exists and can be restored by removing the marker.
AWhy this is right: Object Lock protects object versions, not the current-object view; a simple delete only adds a delete marker.
BWhy not this: Compliance-mode retention blocks deletion of the locked version by any user, whatever their permissions.
CWhy not this: S3 provides strong read-after-write consistency for listings, and the request was not rejected.
DWhy not this: Object Lock keeps protected versions in place in the same bucket.
A delete request without a version ID in a versioned bucket only adds a delete marker, which Object Lock does not prevent. The locked version stays intact and protected until its retain-until date, and removing the delete marker makes it current again. S3 listings are strongly consistent, and Object Lock does not move objects.