Question 50
A subnet NSG allows HTTPS but an attached NIC NSG denies it, and a team assumes the subnet allow wins. What is the MOST appropriate correction for the described design problem?
Explanation
Correct Answer
Reconcile subnet- and NIC-level NSG rules to allow the required flow at both layers. This choice directly addresses the stated failure because for relevant traffic, both applicable subnet and NIC NSGs must permit the flow. Verify with this concrete result: The permitted HTTPS request passes and the effective rules show no deny in either scope. To prevent recurrence: Review both NSG layers when diagnosing access failures.
Incorrect Answers
One NSG can apply shared scope; segmentation is needed if different hosts need incompatible privileges. Here, for relevant traffic, both applicable subnet and NIC NSGs must permit the flow.
ASG membership requires attachment to the actual network interfaces/IP configurations. Here, for relevant traffic, both applicable subnet and NIC NSGs must permit the flow.
ASGs identify NIC groups and avoid brittle per-address application security rules. Here, for relevant traffic, both applicable subnet and NIC NSGs must permit the flow.