DEA-C01 · Question #306
A company must retain specific data for 1 year. A data engineer observes that one of the company's Amazon S3 buckets contains millions of objects that are older than 3 years. Versioning is enabled…
The correct answer is D. Add an additional S3 Lifecycle rule to delete the current and expired versions of objects that are. With S3 versioning enabled, lifecycle expiration of an object typically adds a delete marker instead of removing prior versions, which can increase the total number of object versions. To permanently remove the older data, the lifecycle configuration must also delete noncurrent…
Question
A company must retain specific data for 1 year. A data engineer observes that one of the company’s Amazon S3 buckets contains millions of objects that are older than 3 years. Versioning is enabled on the bucket. To reduce costs, the data engineer implements an S3 Lifecycle rule to expire objects after 365 days. The new S3 Lifecycle rule causes the object count to double instead of decrease. Which additional step must the data engineer take to permanently delete the old objects?
Options
- ADisable versioning on the S3 bucket.
- BUse an AWS Lambda function to run a Python job to identify and delete objects that are older
- CSuspend versioning on the S3 bucket.
- DAdd an additional S3 Lifecycle rule to delete the current and expired versions of objects that are
How the community answered
(35 responses)- A14% (5)
- B3% (1)
- C9% (3)
- D74% (26)
Explanation
With S3 versioning enabled, lifecycle expiration of an object typically adds a delete marker instead of removing prior versions, which can increase the total number of object versions. To permanently remove the older data, the lifecycle configuration must also delete noncurrent (previous) versions and expired delete markers based on age so that both current and prior versions are actually removed.
Topics
Community Discussion
No community discussion yet for this question.