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
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.