S3 storage classes and lifecycle · Question 3 of 12
Logs should move to an archive class after 90 days and be deleted after seven years. How can this be done in S3 without writing code?
1 answer is correct. Easy Created with AI
Show answer
Answer
- B With a lifecycle rule for transition and expiration
Explanation
Lifecycle rules (S3 Lifecycle) move objects to another storage class after a set time (transition) and delete them later (expiration). Object Lock, by contrast, prevents deletion, and bucket policies only control access.