Question 590
While validating an Azure workload, the security team finds: A front-end subnet rule references an Application Security Group intended for web VMs, but a newly deployed VM is missing from the ASG and cannot receive traffic. Which remediation best addresses the specific issue?
Explanation
Correct Answer
The cause is: An ASG-based NSG rule matches only network interfaces associated with the referenced Application Security Group. The appropriate change is: Assign the intended VM network interface to the approved ASG and retain least-privilege NSG criteria. Verify it with this outcome: The newly assigned web VM receives authorized application traffic while non-member VMs remain excluded.
Incorrect Answers
This action concerns nsg rule priority and first matching decision, where Network Security Groups process inbound and outbound rules by ascending priority; a first matching allow can shadow a later deny. The reported incident instead involves An ASG-based NSG rule matches only network interfaces associated with the referenced Application Security Group.
This action concerns default outbound network access control, where Default NSG security rules can allow outbound Internet connectivity unless explicit higher-priority restrictions apply. The corrective response here is “Assign the intended VM network interface to the approved ASG and retain least-privilege NSG criteria”; this alternative does not provide that response.
This action concerns subnet versus nic nsg evaluation, where Both applicable subnet and NIC NSG security rules affect connectivity; an allow at one layer cannot override a deny at another. The stem reports a front-end subnet rule references an Application Security Group intended for web VMs, but a newly deployed VM is missing from the ASG and cannot receive traffic; this control addresses a different failure condition.