Microsoft Azure Security Engineer Associate AZ-500 Practice Question

You manage an Azure Key Vault named ContosoKV that contains an RSA key named DatabaseKey created with default settings. The security team now requires the key to expire after 365 days and automatically generate a new version every 180 days. You want to meet the requirement with a single Azure CLI command. Which command should you run?

  • az keyvault key rotation-policy update --vault-name ContosoKV --name DatabaseKey --expiry P365D --lifetime-actions Rotate@P180D

  • az keyvault key rotation-policy enable --vault-name ContosoKV --key-name DatabaseKey --rotation-period P180D --expiry-period P365D

  • az keyvault key update --vault-name ContosoKV --name DatabaseKey --expires P365D --rotate P180D

  • az keyvault key rotation-policy update --vault-name ContosoKV --name DatabaseKey --expiry P365D --lifetime-actions Notify@P180D

Microsoft Azure Security Engineer Associate AZ-500
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot