az-104 Practice Question 733

Exam: az-104
Domain: Describe Azure architecture and services
Topic: Describe Azure storage services
Difficulty: medium
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.

Answer Options

A
RG1 has the Tag2: IT tag assigned only: No. Storage1 has the Tag1:subscription, Tag2: IT, Tag3:value1, and Tag4:value4 tags assigned: No. VNET1 has the Tag2: IT and Tag3: value2 tags assigned only: No.

Correct Answer

A: RG1 has the Tag2: IT tag assigned only: No. Storage1 has the Tag1:subscription, Tag2: IT, Tag3:value1, and Tag4:value4 tags assigned: No. VNET1 has the Tag2: IT and Tag3: value2 tags assigned only: No.

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.