Microsoft
AZ-500 · Question #430
You have an Azure subscription that contains the resources shown in the following table. You need to configure storage1 to regenerate keys automatically every 90 days. Which cmdlet should you run?
The correct answer is A. Add-AzKeyVaultflanagedStorageAccount. The correct command is Add-AzKeyVaultflanagedStorageAccount -RegenerationPeriod https://learn.microsoft.com/en-us/powershell/module/az.keyvault/add- azkeyvaultmanagedstorageaccount?view=azps-9.3.0
Submitted by lars.no· Mar 6, 2026Secure compute, storage, and databases
Question
You have an Azure subscription that contains the resources shown in the following table. You need to configure storage1 to regenerate keys automatically every 90 days. Which cmdlet should you run?
Options
- AAdd-AzKeyVaultflanagedStorageAccount
- BSet-AzStorageAccountManagementPolicy
- CSet-AzStorageAccount
- DAdd-AzStorageAccountManagementPolicyAction
How the community answered
(32 responses)- A81% (26)
- B3% (1)
- C9% (3)
- D6% (2)
Explanation
The correct command is Add-AzKeyVaultflanagedStorageAccount -RegenerationPeriod https://learn.microsoft.com/en-us/powershell/module/az.keyvault/add- azkeyvaultmanagedstorageaccount?view=azps-9.3.0
Topics
#Key Vault managed storage#key rotation#storage account#PowerShell cmdlets
Community Discussion
No community discussion yet for this question.