Which actions will restore the objects?
(Choose two.)
Use the AWS Management Console to delete the object delete markers.
Create a new lifecycle rule to delete the object delete markers that were created.
Use the AWS CLI to delete the object delete markers while specifying the version IDs of the delete markers.
Modify the existing lifecycle rule to delete the object delete markers that were created.
Use the AWS CLI to delete the object delete markers while specifying the name of the objects only.
Explanations:
Deleting the object delete markers using the AWS Management Console will restore the previous versions of the objects. Once the delete markers are removed, the most recent versions of the objects will be accessible again.
Creating a new lifecycle rule to delete the object delete markers is not a valid action to restore the objects. This would potentially result in further data loss, as the rule would remove the delete markers again, making the previous versions inaccessible.
Using the AWS CLI to delete the object delete markers while specifying the version IDs of the delete markers will effectively remove them. This action allows for precise control over which delete markers to remove, thus restoring access to the previous object versions.
Modifying the existing lifecycle rule to delete the object delete markers is not effective for restoration. This could lead to further deletions of the markers, perpetuating the issue rather than resolving it.
Using the AWS CLI to delete the object delete markers while specifying only the names of the objects is insufficient because it does not address the delete markers directly. Version IDs must be specified to accurately remove the correct markers associated with deleted objects.