You want to automatically manage logs stored in S3 with the rule 'move to an infrequent-access tier 30 days after creation, automatically move to Glacier after 1 year, and delete after 7 years'. Which S3 feature should you use?

1 / 1
Select an answer
CorrectB

Explanation

Choosing the S3 feature that automates tier transition and deletion based on age.

  • 1move to an infrequent-access tier 30 days after creationTransition based on age
  • 2automatically move to Glacier after 1 yearAutomation of staged tier transitions
  • 3delete after 7 yearsAutomatic deletion by expiration = lifecycle
AIncorrect

Versioning

Versioning is a feature that keeps multiple versions of an object to protect against accidental deletion and overwrite.

It is not a feature that moves between tiers or deletes based on elapsed time, so it is incorrect.

BCorrect

Lifecycle policy

Correct. An S3 lifecycle policy defines rules to automatically transition objects to another storage class based on age or to delete them after a period (expiration). It automates staged cost optimization and retention management for logs.

CIncorrect

Static website hosting

Static website hosting is a feature that serves HTML and other files from an S3 bucket over the web.

It is not a feature that moves tiers or deletes based on age, so it is incorrect.

DIncorrect

Cross-Region Replication

Cross-Region Replication is a feature that replicates objects to another Region.

It is not tier transition or deletion based on age, so it is incorrect.

Key Takeaway

'Tier transition and deletion by age' points to the S3 lifecycle policy. Versioning (version management), replication (copying), and static hosting (delivery) have different purposes.