nerdexam
Microsoft

AZ-500 · Question #267

Hotspot Question You have the Azure virtual networks shown in the following table. You have the Azure virtual machines shown in the following table. The firewalls on all the virtual machines allow…

The correct answer is VM1 = No; VM2 = No; VM3 = Yes; VM4 = Yes. This question tests understanding of Azure Network Security Groups (NSGs), virtual network peering, and how inbound/outbound rules affect traffic between virtual machines in different subnets and VNets.

Submitted by katya_ua· Mar 6, 2026Secure networking

Question

Hotspot Question You have the Azure virtual networks shown in the following table. You have the Azure virtual machines shown in the following table. The firewalls on all the virtual machines allow ping traffic. NSG1 is configured as shown in the following exhibit. Inbound security rules Outbound security rules For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Answer:

Exhibits

AZ-500 question #267 exhibit 1
AZ-500 question #267 exhibit 2
AZ-500 question #267 exhibit 3
AZ-500 question #267 exhibit 4
AZ-500 question #267 exhibit 5
AZ-500 question #267 exhibit 6

Answer Area

  • VM1No
  • VM2No
  • VM3Yes
  • VM4Yes

Explanation

This question tests understanding of Azure Network Security Groups (NSGs), virtual network peering, and how inbound/outbound rules affect traffic between virtual machines in different subnets and VNets.

Approach. To evaluate each statement, you must consider: (1) whether the VNets are peered and if peering is bidirectional, (2) which subnet each VM belongs to and whether NSG1 is associated with that subnet or NIC, (3) the specific inbound and outbound rules in NSG1 including priority, port, protocol, source/destination, and action (Allow/Deny), and (4) the default Azure NSG rules which allow VNet-to-VNet traffic and deny all inbound from Internet by default. Azure NSG rules are evaluated by priority (lowest number = highest priority), and the first matching rule is applied. For ping (ICMP), you must check if there is an explicit Allow or Deny rule for ICMP or 'Any' protocol. If NSG1 is attached to a subnet, it affects all VMs in that subnet; if attached to a NIC, it only affects that specific VM. VNet peering must be established in both directions for full connectivity, and NSG rules still apply to peered traffic.

Concept tested. Azure NSG rule evaluation, VNet peering connectivity, ICMP/ping traffic filtering, and the interaction between subnet-level and NIC-level NSG associations across peered virtual networks.

Reference. https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview

Topics

#Network Security Groups (NSG)#virtual network#network connectivity#inbound/outbound rules

Community Discussion

No community discussion yet for this question.

Full AZ-500 Practice