Question 40
A production Azure security implementation shows this failure: A subnet has no custom outbound deny rule, and developers assume that absence of custom rules means workload VMs cannot reach the Internet. Which recurring validation best protects against the observed problem?
Explanation
Correct Answer
This guardrail addresses default outbound network access control: Default NSG security rules can allow outbound Internet connectivity unless explicit higher-priority restrictions apply. The prevention measure is: Test actual outbound reachability instead of relying on the presence of an NSG attachment alone. A control in another subsystem would not prevent this specific recurrence.
Incorrect Answers
An ASG-based NSG rule matches only network interfaces associated with the referenced Application Security Group. “Validate ASG membership as part of VM deployment and automated network acceptance tests” would address that alternative cause, not the condition in this question: default NSG security rules can allow outbound Internet connectivity unless explicit higher-priority restrictions apply.
“Assess effective rules at subnet and interface levels before approving firewall exceptions” responds to this separate finding: both applicable subnet and NIC NSG security rules affect connectivity; an allow at one layer cannot override a deny at another. This question instead needs “Test actual outbound reachability instead of relying on the presence of an NSG attachment alone”, so the alternative does not meet the stated condition.
The active enforcement context can include multiple NSGs and effective rules that differ from a single saved rule view. “Require effective-rule evidence for network access exceptions rather than broad rule changes” applies to that separate problem. The observed case is a subnet has no custom outbound deny rule, and developers assume that absence of custom rules means workload VMs cannot reach the Internet; choosing this alternative would address the wrong failure mode.