exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 1 question 41 discussion

Actual exam question from Microsoft's AZ-500
Question #: 41
Topic #: 1
[All AZ-500 Questions]

You are in the process of configuring an Azure policy via the Azure portal.
Your policy will include an effect that will need a managed identity for it to be assigned.
Which of the following is the effect in question?

  • A. AuditIfNotExist
  • B. Disabled
  • C. DeployIfNotExist
  • D. EnforceOPAConstraint
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AKYK
Highly Voted 3 years, 6 months ago
correct answer C
upvoted 11 times
...
SecurityAnalyst
Highly Voted 3 years, 7 months ago
# IN EXAM - 31/8/2021
upvoted 10 times
...
Sabr_
Most Recent 20 hours, 28 minutes ago
Selected Answer: C
Exam question 6th April 2025
upvoted 1 times
...
stonwall12
1 month, 3 weeks ago
Selected Answer: C
Answer: C, DeployIfNotExist Reason: The DeployIfNotExist effect in Azure Policy requires a managed identity to be assigned when the policy is created. Reference: https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects#deployifnotexists
upvoted 1 times
...
Ruffyit
5 months, 1 week ago
Correct answer C. DeployIfNotExist https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure Azure Policy supports the following types of effect: Append: adds the defined set of fields to the request Audit: generates a warning event in activity log but doesn't fail the request AuditIfNotExists: generates a warning event in activity log if a related resource doesn't exist Deny: generates an event in the activity log and fails the request DeployIfNotExists: deploys a related resource if it doesn't already exist Disabled: doesn't evaluate resources for compliance to the policy rule Modify: adds, updates, or removes the defined set of fields in the request EnforceOPAConstraint (deprecated): configures the Open Policy Agent admissions controller with Gatekeeper v3 for self-managed Kubernetes clusters on Azure EnforceRegoPolicy (deprecated): configures the Open Policy Agent admissions controller with Gatekeeper v2 in Azure Kubernetes Service
upvoted 3 times
...
Jimmy500
9 months, 3 weeks ago
2 policy effects needs managed identity. 1 DeployIFNotExist second one is Manage
upvoted 1 times
...
meeko86
1 year, 7 months ago
Correct answer C. DeployIfNotExist https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure Azure Policy supports the following types of effect: Append: adds the defined set of fields to the request Audit: generates a warning event in activity log but doesn't fail the request AuditIfNotExists: generates a warning event in activity log if a related resource doesn't exist Deny: generates an event in the activity log and fails the request DeployIfNotExists: deploys a related resource if it doesn't already exist Disabled: doesn't evaluate resources for compliance to the policy rule Modify: adds, updates, or removes the defined set of fields in the request EnforceOPAConstraint (deprecated): configures the Open Policy Agent admissions controller with Gatekeeper v3 for self-managed Kubernetes clusters on Azure EnforceRegoPolicy (deprecated): configures the Open Policy Agent admissions controller with Gatekeeper v2 in Azure Kubernetes Service
upvoted 3 times
...
AzureAdventure
1 year, 8 months ago
https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects#deployifnotexists:~:text=Similar%20to%20AuditIfNotExists%2C%20a%20DeployIfNotExists%20policy%20definition%20executes%20a%20template%20deployment%20when%20the%20condition%20is%20met.%20Policy%20assignments%20with%20effect%20set%20as%20DeployIfNotExists%20require%20a%20managed%20identity%20to%20do%20remediation.
upvoted 1 times
...
ESAJRR
1 year, 9 months ago
Selected Answer: C
C. DeployIfNotExist
upvoted 1 times
...
Andre369
1 year, 10 months ago
Selected Answer: C
The DeployIfNotExist effect in Azure policy allows you to automatically deploy and configure resources if they do not exist. When using this effect, a managed identity is required to perform the necessary deployment actions on behalf of the policy.
upvoted 1 times
...
zellck
1 year, 11 months ago
Selected Answer: C
C is the answer. https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects#deployifnotexists Similar to AuditIfNotExists, a DeployIfNotExists policy definition executes a template deployment when the condition is met. Policy assignments with effect set as DeployIfNotExists require a managed identity to do remediation.
upvoted 2 times
...
ETV
1 year, 11 months ago
Passed exam today some questions were present 24/04/23
upvoted 2 times
...
majstor86
2 years, 1 month ago
Selected Answer: C
C. DeployIfNotExist
upvoted 2 times
...
amitdimpy
2 years, 2 months ago
Question was in 8-Jan-2023 exam.
upvoted 2 times
...
Amit3
2 years, 6 months ago
# In EXAM - 01-Oct-2022
upvoted 2 times
...
Eltooth
3 years ago
Selected Answer: C
C is correct answer.
upvoted 3 times
...
Cessyd
3 years, 3 months ago
On today's exam 06/01/22 (question was asked in a slightly different way though)
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago