SOA-C02 · Question #415
A company migrates a write-once, ready-many (WORM) drive to an Amazon S3 bucket that has S3 Object Lock configured in governance mode. During the migration, the company copies unneeded data to the…
The correct answer is B. Assume a role that has the s3:BypassLegalRetention permission. D. Include the x-amz-bypass-governance-retention:true header in the request when issuing the. To override or remove governance-mode retention settings, a user must have the s3:BypassGovernanceRetention permission and must explicitly include x-amz-bypass- governance-retention:true as a request header with any request that requires overriding governance mode…
Question
A company migrates a write-once, ready-many (WORM) drive to an Amazon S3 bucket that has S3 Object Lock configured in governance mode. During the migration, the company copies unneeded data to the S3 bucket. A SysOps administrator attempts to delete the unneeded data from the S3 bucket by using the AWS CLI. However, the SysOps administrator receives an error. Which combination of steps should the SysOps administrator take to successfully delete the unneeded data? (Choose two.)
Options
- AIncrease the Retain Until Date.
- BAssume a role that has the s3:BypassLegalRetention permission.
- CAssume a role that has the s3:BypassGovernanceRetention permission.
- DInclude the x-amz-bypass-governance-retention:true header in the request when issuing the
- EInclude the x-amz-bypass-legal-retention:true header in the request when issuing the delete
How the community answered
(27 responses)- A11% (3)
- B70% (19)
- C15% (4)
- E4% (1)
Explanation
To override or remove governance-mode retention settings, a user must have the s3:BypassGovernanceRetention permission and must explicitly include x-amz-bypass- governance-retention:true as a request header with any request that requires overriding governance mode. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-overview.html#object- lock-
Topics
Community Discussion
No community discussion yet for this question.