Contoso Corp has an Azure subscription containing a Key Vault named contosokey1 and a Storage Account named contosodata1. You plan to configure contosodata1 to use customer-managed keys (CMK) stored in contosokey1 to encrypt storage data.
Which two features must be enabled on contosokey1 before you can configure CMK encryption? (Select two.)
- Soft deleteAnswer
- Purge protectionAnswer
- CThe Key Vault Contributor role for the storage account managed identity
- DThe trusted Microsoft services firewall bypass setting
Answer
Soft delete and Purge protection must be enabled on the Key Vault.
To use customer-managed keys for storage encryption, the Key Vault must have both soft delete and purge protection enabled. Soft delete ensures that deleted vaults or keys can be recovered within a retention period, while purge protection prevents the permanent deletion of the key or vault until the retention period has elapsed.
Step-by-Step Solution
Key Concept
Key Vault requirements for Storage Account Customer-Managed Keys (CMK)