Restore a deleted imported key material by reimporting the same material to decrypt the EBS volume
A company uses AWS Key Management Service (AWS KMS). During an attempt to attach an encrypted Amazon Elastic Block Store (Amazon EBS) volume to an Amazon EC2 instance, the attachment fails. The company discovers that a customer managed key has become unusable because the key material for the key was deleted. The company needs the data that is on the EBS volume. A security engineer must recommend a solution to decrypt the EBS volume’s encrypted data key. The solution must also attach the volume to the EC2 instance. Which solution will meet these requirements?
Community Votes
57% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
For a KMS key with imported key material, deleting the material is reversible—you can reimport the identical material to make the key usable again. The EBS volume's encrypted data key was wrapped by that exact key material, so only reimporting the same material restores decryption. Snapshots of the volume carry the same wrapping and would also be undecryptable while the key material is missing.
An EBS volume is encrypted with a customer managed KMS key whose imported key material was deleted, making the key unusable and blocking attachment. Because the EBS data key was encrypted with that specific key material, the only way to decrypt is to reimport the same original key material into the key (deleting imported material is reversible if you retained it). A snapshot of the volume is also encrypted with the same unusable key, so restoring from snapshot would not help.
Restoring from a snapshot (option B)—the snapshot is encrypted with the same now-unusable key, so it cannot be decrypted either. Or creating a new key with new material (option D)—new material cannot unwrap the existing data key.
Community Discussion (7 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.