QuestionQ69

VerifiedSecurity

A developer needs to store files in an Amazon S3 bucket for a company's application. Each S3 object can have multiple versions. The objects must be permanently removed 1 year after object creation.

The developer creates an S3 bucket that has versioning enabled.

What should the developer do next to meet the data retention requirements?

Explanation

S3 Lifecycle policies are the native feature designed for automated object expiration. A lifecycle rule can expire current object versions and permanently delete noncurrent versions after a specified time period (1 year), requiring no custom code or Lambda functions. This is the lowest-effort solution meeting all requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!