Microsoft Azure Security Engineer Associate AZ-500 Practice Question
You enabled soft-delete and purge protection on an Azure Key Vault that stores an RSA key named AppKey. The operations team used Azure CLI to create a backup of AppKey to a Blob storage container. A week later, AppKey is accidentally deleted, but has not been purged from the vault. To bring the key back into service as quickly as possible while preserving all existing versions, which action should you perform?
Run az keyvault key import --vault-name <vaultName> --file appkey_backup.
Run az keyvault key recover --vault-name <vaultName> --name AppKey.
Run az keyvault key restore --vault-name <vaultName> --file appkey_backup.
Create a new key named AppKey with az keyvault key create.
Because soft-delete is active and the key has not been purged, the object still exists in the vault's deleted state. The fastest way to return it to active use is to call the recover operation, which simply changes the key's state from deleted to active and retains every version and attribute. Restoring from a backup is intended for situations where the key or the entire vault has been purged or recreated. Importing a key or recreating one with the same name would generate a new object identifier and break version history or references.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Key Vault soft-delete and purge protection?
Open an interactive chat with Bash
What is the difference between `recover`, `restore`, and `import` commands in the context of Azure Key Vault?
Open an interactive chat with Bash
Why is versioning important for Azure Key Vault keys?
Open an interactive chat with Bash
Microsoft Azure Security Engineer Associate AZ-500
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .