nerdexam
MicrosoftMicrosoft

AZ-500 · Question #323

AZ-500 Question #323: Real Exam Question with Answer & Explanation

The correct answer is D: DeployIfNotExists. DeployIfNotExists executes a template deployment when the condition is met. https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects

Submitted by javi_es· Mar 6, 2026Secure compute, storage, and databases

Question

Your company's Azure subscription includes Windows Server 2016 Azure virtual machines. You are informed that every virtual machine must have a custom antimalware virtual machine extension installed. You are writing the necessary code for a policy that will help you achieve this. Which of the following is an effect that must be included in your code?

Options

  • ADisabled
  • BModify
  • CAuditIfNotExists
  • DDeployIfNotExists

Explanation

DeployIfNotExists executes a template deployment when the condition is met. https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects

Community Discussion

No community discussion yet for this question.

Full AZ-500 PracticeBrowse All AZ-500 Questions