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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications