A versioned S3 bucket must expire current versions 90 days after creation and permanently delete previous versions 30 days after they become noncurrent. Which lifecycle configuration meets both requirements?
Show the answer
Correct answerB. Expire current versions after 90 days; expire noncurrent versions after 30 days
AWhy not this: Expired delete marker cleanup does not permanently delete noncurrent data versions or provide this 30-day retention rule.
BWhy this is right: Current expiration uses object age, while noncurrent expiration uses time since the version became noncurrent.
CWhy not this: The current and noncurrent retention periods are reversed.
DWhy not this: A storage-class transition changes storage placement rather than expiring the current version.
Current-version expiration in a versioned bucket normally creates a delete marker, making the data version noncurrent. Noncurrent-version expiration permanently deletes that version after the specified noncurrent age; deleting expired delete markers does not delete retained data versions.