AWS Certified SysOps Administrator – Associate (legacy) — Question 143
A company recently implemented an Amazon S3 lifecycle rule that accidentally deleted objects from one of its S3 buckets. The bucket has S3 versioning enabled.
Which actions will restore the objects? (Choose two.)
Answer options
- A. Use the AWS Management Console to delete the object delete markers.
- B. Create a new lifecycle rule to delete the object delete markers that were created.
- C. Use the AWS CLI to delete the object delete markers while specifying the version IDs of the delete markers.
- D. Modify the existing lifecycle rule to delete the object delete markers that were created.
- E. Use the AWS CLI to delete the object delete markers while specifying the name of the objects only.
Correct answer: A, D
Explanation
The correct actions are A and D. Option A allows you to manually delete the object delete markers through the AWS Management Console, restoring access to the previous versions. Option D modifies the existing lifecycle rule to take care of the delete markers, ensuring they are removed. The other options either create new rules or focus on using the CLI without effectively addressing the delete markers themselves.