AZ-801 · Question #197
You have an Azure subscription that contains a network security group (NSG) named NSG1 and a virtual network named VNet1. NSG1 contains only default security rules. VNet1 contains the subnets shown…
This question tests understanding of Azure NSG default outbound security rules and how they govern VM-to-Internet connectivity. The key insight is that default NSG rules permit outbound Internet traffic from all associated VMs regardless of their listening ports.
Question
Explanation
This question tests understanding of Azure NSG default outbound security rules and how they govern VM-to-Internet connectivity. The key insight is that default NSG rules permit outbound Internet traffic from all associated VMs regardless of their listening ports.
Approach. All three VMs (VM1, VM2, and VM3) can communicate with a host on the Internet on TCP port 80. Azure NSGs include a built-in default outbound rule called 'AllowInternetOutBound' (priority 65001) that permits all outbound traffic from any VM to any Internet destination on any port. Since NSG1 contains only default rules and no custom rules blocking outbound traffic, this rule applies unrestricted to VM1, VM2, and VM3. The 'listening ports' column (3389, 8080) is a deliberate distractor - it describes inbound ports the VMs accept, not restrictions on outbound connections the VMs initiate.
Concept tested. Azure NSG default security rules - specifically the 'AllowInternetOutBound' default outbound rule that permits all associated VMs to initiate outbound TCP/UDP connections to the Internet on any port unless explicitly overridden by a higher-priority custom deny rule.
Topics
Community Discussion
No community discussion yet for this question.