AZ-104 study notes · 15–20% of the exam

Implement and manage virtual networking

First draft for review. Check details against Microsoft Learn before relying on them.

What this area covers

Virtual networks and peering, routing, network security, name resolution and load balancing.

Virtual networks

  • Plan non-overlapping address spaces. Azure reserves five IP addresses in each subnet.
  • VNet peering connects VNets in the same or different regions. It isn't transitive, so spoke-to-spoke traffic needs a hub router or firewall.
  • Gateway transit lets peered VNets use a hub's VPN or ExpressRoute gateway.
  • Public IP addresses: Standard SKU is secure by default and zone-aware. Basic SKU is retired.

Routing

  • User-defined routes in route tables override system routes. Next hop types include virtual appliance, virtual network gateway, internet and none.
  • Service endpoints route traffic to PaaS over the Azure backbone. Private endpoints give the PaaS resource a private IP.
  • NAT Gateway gives a subnet reliable outbound internet with static public IPs.

Network security

  • NSGs filter by source, destination, port and protocol, with priorities from 100 to 4096. Lower numbers win, and the first match stops processing.
  • Application security groups group NICs by role so rules don't need IP addresses.
  • Check effective security rules on a NIC to see the combined result of subnet and NIC NSGs.
  • Azure Bastion gives browser or native-client RDP and SSH without public IPs on VMs.

DNS

  • Azure DNS hosts public zones. Private DNS zones linked to VNets give private name resolution, with optional auto-registration for VMs.
  • Custom DNS servers are set on the VNet or the NIC.

Load balancing

  • Azure Load Balancer (layer 4) has public and internal frontends, health probes and load-balancing rules. Standard SKU needs an NSG to allow traffic in.
  • Application Gateway (layer 7) adds path routing, TLS termination and WAF.
  • Troubleshoot with Network Watcher: IP flow verify, next hop, connection troubleshoot and VNet flow logs.