How do you see the routes a VM actually uses?

BeginnerConceptNetworking
Answer
az network nic show-effective-route-table -g rg -n vm-app-nic -o table
az network watcher show-next-hop -g rg --vm vm-app \
  --source-ip 10.20.1.4 --dest-ip 8.8.8.8

Effective routes combine system routes, UDRs and BGP routes. show-next-hop tells you which next hop type (Internet, VirtualAppliance, VnetLocal, None) and which route table won.

Azure All Azure questions Roadmap: Azure core services

More on Networking