ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 283 - AZ-104 discussion

Report
Export

HOTSPOT

You have an Azure subscription.

You need to implement a custom policy that meet the following requirements:

*Ensures that each new resource group in the subscription has a tag named organization set to a value of Contoso.

*Ensures that resource group can be created from the Azure portal.

*Ensures that compliance reports in the Azure portal are accurate.

How should you complete the policy? To answer, select the appropriate options in the answers area.


Question 283
Correct answer: Question 283

Explanation:

Box 1: "Microsoft.Resources/subscriptions/resourceGroups"

To create a new resource group in a subscription, account have at least the this permission.

Box 2: "Append"

Append adds fields to the resource when the if condition of the policy rule is met. If the append effect would override a value in the original request with a different value, then it acts as a deny effect and rejects the request. To append a new value to an existing array, use the [*] version of the alias

Reference:

https://docs.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure

https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles

https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects

asked 26/09/2024
ILLIA VELIASEVICH
46 questions
User
0 comments
Sorted by

Leave a comment first