A company stores log files in an S3 bucket and has discovered some files were accidentally deleted. The data engineer needs a solution that prevents accidental deletions going forward while imposing the least operational overhead. What should they do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable S3 Versioning for the S3 bucket..
Why this is the answer
Enabling S3 Versioning is the most effective solution for preventing accidental deletions with the least operational overhead. When S3 Versioning is enabled, every version of an object is preserved, even if it's deleted. A "delete marker" is created, but the previous versions remain retrievable. This directly addresses accidental deletions without requiring manual intervention. Manually backing up the S3 bucket is labor-intensive and prone to human error, increasing operational overhead. Configuring replication provides a copy of the data in another location but doesn't protect against accidental deletions of the original objects in the source bucket. Using an S3 Glacier storage class is for archiving infrequently accessed data for cost savings, not for immediate protection against accidental deletions of active log files.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed