Microsoft Azure Security Engineer Associate AZ-500 Practice Question
You are designing a custom Azure Policy to ensure that all Azure Storage accounts in a subscription allow only TLS 1.2 connections. The policy must automatically configure the required setting on any non-compliant storage account whenever remediation is triggered, and it must block no deployments. Which policy effect should you specify in the policy definition to meet these requirements?
The DeployIfNotExists effect evaluates resources for compliance and, when remediation is executed, runs a specified deployment that changes non-compliant resources so they meet the policy requirements (for example, setting the minimum TLS version to 1.2 on an existing storage account). It also ensures any future resources are deployed with the correct configuration by adding a policy deployment at creation time.
The Audit effect only reports non-compliance and cannot remediate. Deny stops the creation or update of non-compliant resources instead of fixing them. Append adds additional settings to new or updated resources but does not change existing resources and cannot perform complex configuration like updating a property on an existing storage account. Therefore, DeployIfNotExists is the only effect that satisfies the requirement to automatically remediate existing resources without blocking deployments.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the DeployIfNotExists effect do in Azure Policy?
Open an interactive chat with Bash
How does DeployIfNotExists handle remediation and future compliance?
Open an interactive chat with Bash
What are the differences between DeployIfNotExists, Audit, Deny, and Append effects?
Open an interactive chat with Bash
Microsoft Azure Security Engineer Associate AZ-500
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .