nerdexam
Amazon

DEA-C01 · Question #129

A company stores logs in an Amazon S3 bucket. When a data engineer attempts to access several log files, the data engineer discovers that some files have been unintentionally deleted. The data…

The correct answer is B. Enable S3 Versioning for the S3 bucket. The data engineer needs a solution to prevent unintentional deletion of log files in an S3 bucket with the least operational overhead.

Data Store Management

Question

A company stores logs in an Amazon S3 bucket. When a data engineer attempts to access several log files, the data engineer discovers that some files have been unintentionally deleted. The data engineer needs a solution that will prevent unintentional file deletion in the future. Which solution will meet this requirement with the LEAST operational overhead?

Options

  • AManually back up the S3 bucket on a regular basis.
  • BEnable S3 Versioning for the S3 bucket.
  • CConfigure replication for the S3 bucket.
  • DUse an Amazon S3 Glacier storage class to archive the data that is in the S3 bucket.

How the community answered

(44 responses)
  • A
    7% (3)
  • B
    73% (32)
  • C
    5% (2)
  • D
    16% (7)

Why each option

The data engineer needs a solution to prevent unintentional deletion of log files in an S3 bucket with the least operational overhead.

AManually back up the S3 bucket on a regular basis.

Manually backing up the S3 bucket is a high-operational-overhead task, prone to human error, and less effective than automated versioning for preventing unintentional deletions and facilitating recovery.

BEnable S3 Versioning for the S3 bucket.Correct

Enabling S3 Versioning for the S3 bucket is the most direct and effective solution for preventing unintentional file deletion. When versioning is enabled, every deletion action creates a new delete marker instead of permanently removing the object, allowing for easy restoration of previous versions of the file with minimal operational overhead.

CConfigure replication for the S3 bucket.

Configuring replication (e.g., S3 Cross-Region Replication or Same-Region Replication) creates copies of objects in another bucket. While it provides disaster recovery and redundancy, it does not prevent unintentional deletions from the source bucket; a deletion in the source bucket would typically be replicated to the destination (unless specific replication rules exclude delete markers), potentially propagating the unintentional deletion.

DUse an Amazon S3 Glacier storage class to archive the data that is in the S3 bucket.

Using an Amazon S3 Glacier storage class is for cost-effective long-term archiving of infrequently accessed data. While it secures data in archival tiers, it's not primarily designed to prevent unintentional deletions from an active S3 bucket; instead, it manages data lifecycle and access patterns, and retrieving data from Glacier classes involves restoration delays and costs.

Concept tested: Protecting S3 objects from unintentional deletion

Source: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ObjectVersioning.html

Topics

#S3 Versioning#Data Protection#Unintentional Deletion#Amazon S3

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice