ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 455 - AZ-104 discussion

Report
Export

HOTSPOT

You have an Azure subscription named Sub1 that contains the Azure resources shown in the following table.

You assign an Azure policy that has the following settings:

Scope: Sub1

Exclusions: Sub1/RG1/VNET1

Policy definition: Append a tag and its value to resources

Policy enforcement: Enabled

Tag name: Tag4

Tag value: value4

You assign tags to the resources as shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Question 455
Correct answer: Question 455

Explanation:

Box 1: No

The Azure Policy will add Tag4 to RG1.

Box 2: No

Tags applied to the resource group or subscription aren't inherited by the resources although you can enable inheritance with Azure Policy. Storage1 has Tag3: Value1 and the Azure Policy will add Tag4.

Box 3: No

Tags applied to the resource group or subscription aren't inherited by the resources so VNET1 does not have Tag2.

VNET1 has Tag3:value2. VNET1 is excluded from the Azure Policy so Tag4 will not be added to VNET1.

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tagresources?tabs=json

asked 26/09/2024
Rafal Piasecki
40 questions
User
0 comments
Sorted by

Leave a comment first