A versioned S3 bucket stores deployment artifacts under reusable object keys. A lifecycle rule expires current versions after 30 days, but storage charges for older versions continue to grow; what should the engineer add to remove those older versions after a retention period?
Show the answer
Correct answerA. A noncurrent version expiration action
AWhy this is right: Noncurrent version expiration targets older object versions and permanently deletes them after the specified period.
BWhy not this: A storage-class transition changes storage placement and pricing, not retention of older versions.
CWhy not this: Multipart upload cleanup removes unfinished upload parts rather than completed object versions.
DWhy not this: Delete marker cleanup removes eligible markers, not the stored noncurrent artifact data.
Noncurrent version expiration permanently removes older object versions after the configured retention period. Expiring a current version in a versioned bucket normally creates a delete marker; delete marker cleanup does not remove retained artifact versions.