Microsoft Azure Administrator (AZ-104) · Section 4 · 18% of the exam
Configure user-defined network routes
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
A user-defined route for the prefix 10.50.0.0/16 uses next hop type None. What happens to traffic from the associated subnet to that prefix?
- AIt is dropped
- BIt is sent to the internet
- CIt is routed through the virtual network gateway
- DIt is routed locally inside the virtual network
Show the answer
A. The None next hop type discards packets for the prefix. It is used to block specific destinations, and Azure itself creates None routes for reserved prefixes such as 10.0.0.0/8 unless you use them in the address space.
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
- Troubleshoot network connectivity
- 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