Microsoft Azure Administrator (AZ-104) · Section 4 · 18% of the exam
Troubleshoot network connectivity
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Implement and manage virtual networking”. Here is what it covers, the points to remember and a question to try.
What it covers
Azure decides where a packet goes (routes) and whether it may pass (NSG rules). This lesson covers system routes, user-defined routes and next hop types, NSG and application security group design, how subnet and NIC NSGs combine, effective security rules, and the Network Watcher tools that find the cause of a connectivity failure.
Points to remember
- Route choice: longest prefix match first; then user-defined route over BGP over system route.
- UDR next hop types: Virtual network, Internet, Virtual appliance, Virtual network gateway, None. Peering and service endpoint hops are system-only.
- An NVA needs IP forwarding on its NIC (Azure) and in the guest OS, and should sit in its own subnet.
- NSG priority is 100 to 4096; lowest number wins; default rules are 65000, 65001 and 65500.
- NSGs are stateful; deleting an allow rule does not cut existing flows.
Try a question
You add a custom security rule to a network security group. Which priority values can you use, and which rule is evaluated first?
- AA number from 1 to 65500; the rule with the lowest number is evaluated first
- BA number from 100 to 4096; the rule with the highest number is evaluated first
- CA number from 65000 to 65500; Azure evaluates custom rules after the default rules
- DA number from 100 to 4096; the rule with the lowest number is evaluated first
Show the answer
D. NSG rule priorities for custom rules run from 100 to 4096. Azure processes rules in ascending priority order and stops at the first match. The default rules use 65000, 65001 and 65500 so custom rules always take precedence.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Routes, network security groups and connectivity troubleshooting teaches this objective (about 50 minutes), and 18 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Create and configure virtual networks and subnets
- Create and configure virtual network peering
- Configure public IP addresses
- Configure user-defined network routes
- Create and configure network security groups (NSGs) and application security groups
- Evaluate effective security rules in NSGs
- Implement Azure Bastion
- Configure service endpoints for Azure platform as a service (PaaS)
- Configure private endpoints for Azure PaaS
- Configure Azure DNS
- Configure an internal or public load balancer
- Troubleshoot load balancing