Question 370
Both subnet and NIC NSGs apply to a VM. Which effective protection must a new rule account for?
Explanation
Correct Answer
Traffic must satisfy relevant security checks at each applicable network boundary.
Incorrect Answers
Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny. The stated constraint is different: traffic must satisfy relevant security checks at each applicable network boundary.
NSGs match eligible NIC group membership, not merely a similarly named application tag. The stated constraint is different: traffic must satisfy relevant security checks at each applicable network boundary.
When both a subnet NSG and a network-interface NSG apply, a connection must pass the applicable rules at both scopes for its direction. An allow on the NIC does not erase a matching deny on the subnet, and the reverse can also fail. The scenario explicitly says both NSGs are attached, so inspecting only one level gives an incomplete access decision. Evaluate the same source/destination address, protocol, and port tuple through both effective rule sets before adding a rule or declaring the VM protected.






Microsoft Azure Administrator (AZ-104) Practice Tests