‹ All DEA-C01 questions

DEA-C01 Practice Question 77: S3 Object Lock Compliance Mode

AWS Certified Data Engineer – Associate (DEA-C01) · Test 8 · question 7 of 10

Data Store Managementmedium

A regulation requires that financial records stored in an Amazon S3 bucket cannot be deleted or overwritten by anyone, including the AWS account root user, for seven years. Which configuration meets this requirement?

Select one answer
Show answer and explanation

Answer:

  • B. S3 Object Lock in compliance mode with a seven-year retention period

In compliance mode, *"a protected object version can't be overwritten or deleted by any user, including the root user in your AWS account"*, and its retention mode can't be changed nor its retention period shortened. AWS recommends it if *"you never want any user, including the root user in your AWS account, to be able to delete the objects during a pre-defined retention period"* (option B). Object Lock requires S3 Versioning to be enabled on the bucket.

- A is wrong because in governance mode, users with the s3:BypassGovernanceRetention permission can override or remove the retention settings, so it does not stop everyone. - C is wrong because a legal hold has no retention period and can be removed at any time by any user with the s3:PutObjectLegalHold permission. - D is wrong because a bucket policy can be edited or removed by an administrator, so it is not a WORM guarantee and does not meet the requirement.

Reference: Locking objects with Object Lock

Practice Test 8 ›

Study guides for DEA-C01