Question 27 — AZ-104 Practice Exam 5
When NSG rules are applied at both the subnet and NIC level, how are priorities handled? (Select one answer)
Only inbound rules from the subnet are evaluated, outbound ignored
NIC-level rules always override subnet-level rules
Rule priorities are evaluated across all rules, regardless of scope
Subnet-level rules always override NIC-level rules
Correct answers
Rule priorities are evaluated across all rules, regardless of scope
Explanations
Correct
Rule priorities are evaluated across all rules, regardless of scope – NSG rules from both subnet and NIC are processed together according to their numeric priority.
Wrong
Subnet-level rules always override NIC-level rules – Not true; priority order, not scope, determines precedence.
NIC-level rules always override subnet-level rules – Same issue; scope doesn’t guarantee precedence.
Only inbound rules from the subnet are evaluated, outbound ignored – Both inbound and outbound are evaluated at both levels.