Security and Compliance
An engineer accidentally schedules deletion of a Secrets Manager secret with a seven-day recovery window. The application immediately loses access; what should the engineer do to make the secret retrievable again?
Show the answer
Correct answerD. Restore the secret before the recovery window ends
AWhy not this: A secret scheduled for deletion cannot be retrieved by requesting an older version.
BWhy not this: The scheduled-deletion state, rather than the resource policy, prevents retrieval.
CWhy not this: Rotation does not cancel scheduled deletion or restore access to the secret.
DWhy this is right: Restoration cancels scheduled deletion while the secret remains within its recovery window.
Restoring a secret cancels its scheduled deletion and makes it accessible again. Retrieving AWSPREVIOUS does not bypass the inaccessible state of a secret scheduled for deletion.