Practice Test 1 | Microsoft Azure Security Technologies | AZ-500 | Dumps | Mock Test
You have to create a Standard Azure Key Vault as part of your company’s subscription. You are asked to ensure that protection against the immediate deletion of any object from the KeyVault for a period of 7 days.
You need to complete the below PowerShell cmdlet for this purpose.
Which of the following would go into Slot2?
A. -EnabledForDeployment
B. -EnablePurgeProtection
C. -SKU
D. -EnableSoftDelete
Answer — C
In the question, we need to complete a PowerShell command by putting suitable value in the slot 2
Answer C is correct because -SKU
specifies the SKU of the key vault instance. Key vault SKU represents two pricing tiers for Key Vault — standard and premium. The premium level adds Thales HSM (Hardware Security Modules) to your Key Vault.
Answer A is incorrect, because -EnabledForDeployment
Enables the Microsoft. Compute resource providers to retrieve secrets from this key vault when this key vault is referenced during the resource creation.
The answer B is the incorrect answer because EnablePurgeProtection option ensures that no resource which is in soft delete state, can be deleted for duration of purge protection. Purge protection duration may vary from 7 to 90 days.
Answer D is incorrect because -EnableSoftDelete
This is valid for deprecated cmdLet New-AzureRMKeyVault
it is not valid for New-AzKeyVault
For details, please refer to folloiwng link —
https://docs.microsoft.com/en-us/powershell/module/az.keyvault/new-azkeyvault?view=azps-5.4.0
Comments are closed, but trackbacks and pingbacks are open.