Home › Studies › AZ-700 › Core Networking › Network Monitoring

Network Monitoring

Network Watcher · diagnostic tools · connection monitor · flow logs · traffic analytics · Network Insights · DDoS Protection · Defender for Cloud

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Network Watcher basics

Network Watcher monitors and repairs the network health of IaaS resources (VMs, VNets, application gateways, load balancers). It isn't intended for PaaS monitoring or web analytics. Its tools fall in three groups: monitoring (topology, connection monitor), network diagnostic tools and traffic (flow logs, traffic analytics).

Network Watcher limitValue
Instances per region per subscription1
Connection monitors per region per subscription100
Test groups per connection monitor20
Sources and destinations per connection monitor100
Test configurations per connection monitor20
Packet capture sessions per region per subscription10,000 (sessions only, not saved captures)
VPN troubleshoot operations per subscription1 at a time

Network diagnostic tools

ToolUse it toKey points
IP flow verifyCheck whether a packet to or from a VM is allowed or deniedTests NSG and AVNM admin rules on the VM's NIC. Returns Access allowed/denied and the rule name. TCP and UDP only; for ICMP or scale sets use NSG diagnostics. The VM must be running.
NSG diagnosticsSame question for a VM, scale set or application gatewayAccepts an IP, IP prefix or service tag. Can add a higher-priority rule to allow or deny the traffic.
Next hopFind routing problemsReturns next hop type, IP address and route table ID for a destination IP. A UDR returns its route table; otherwise System Route.
Effective security rulesSee all rules applied to a NICShows rules from the NIC, the subnet, and the aggregate.
Connection troubleshootTest a connection at a point in timeFrom a VM, scale set, Bastion or application gateway v2, over TCP or ICMP, to a VM, FQDN, URI or IP. Finds NSG, route, guest-firewall, DNS and port problems. Agentless mode is in preview.
Packet captureCapture traffic to and from a VM or scale setNeeds the AzureNetworkWatcherExtension VM extension. Save to local disk or a storage blob. Filters use the 5-tuple.
VPN troubleshootTroubleshoot virtual network gateways and their connectionsOne operation at a time per subscription.

Connection monitor, topology, flow logs and traffic analytics

Connection monitor

Topology

An interactive view of resources and relationships across subscriptions, regions and resource groups. It's drawn from Azure Resource Graph, so a configuration change can take up to 30 hours to appear.

Flow logs

NSG flow logsVirtual network flow logs
StatusRetire September 30, 2027. No new NSG flow logs can be created.Replacement. Migrate to these.
ScopePer network security group (subnet and NIC levels need separate logging)Enabled at the virtual network; all supported workloads in it
AVNM security admin rulesNot supportedSupported
VNet encryption statusNot supportedSupported
VPN gateway, ExpressRoute gateway, Application GatewayNot supportedSupported
Virtual machine scale setsSupportedSupported

Traffic analytics

Analyzes Network Watcher flow logs and adds security, topology and geography intelligence. It needs flow logs enabled and a Log Analytics workspace. It shows top talkers, allowed and blocked traffic, open internet ports and the most-blocking rules, and helps find misconfigurations.

Azure Monitor Network Insights

Azure Monitor for Networks (Network Insights) gives a visual view of topology, health and metrics for all deployed network resources without any configuration. It also gives access to connection monitor, flow logs, traffic analytics and the Network Watcher diagnostic tools.

ComponentWhat it shows
TopologyVNets and connected resources; drill down to a VM for traffic and connectivity insights
Network health and metricsInventory of network resources with resource health and alerts, filtered by subscription, resource group and type
ConnectivityTests from connection monitor, with reachability based on checks failed (%) and RTT (ms)
TrafficNSGs in scope and whether they have NSG flow logs and traffic analytics configured
Diagnostic ToolkitPacket capture, VPN troubleshoot, connection troubleshoot, next hop, IP flow verify

DDoS Protection

Protects at layer 3 and layer 4. For layer 7 web protection, add a WAF. It is designed for services deployed in a virtual network; other services get default infrastructure-level protection. Infrastructure protection for every Azure service with public IPs comes at no extra cost.

DDoS IP ProtectionDDoS Network Protection
ModelEnable on a public IP; no plan neededDDoS protection plan linked to VNets; one plan across subscriptions in a tenant
PricePer protected IPPer 100 protected IP addresses
Basic SKU public IPNot protectedProtected
DDoS Rapid Response, cost protection, WAF discountNot availableAvailable
Same core features (always-on monitoring, L3/L4 mitigation, metrics, alerts, flow logs, Sentinel connector)YesYes

Monitor DDoS Protection

Defender for Cloud: secure score, attack paths, cloud security explorer

Network-related secure score controlMax points
Secure management ports (JIT VM access, NSGs)8
Restrict unauthorized network access (adaptive network hardening, Private Link, Azure Firewall)4
Protect applications against DDoS attacks (DDoS Protection, WAF)2

Attack path analysis answers "which attack paths are most urgent?". Cloud security explorer answers "which of my resources match this condition?".

CLI and PowerShell

TaskAzure CLIPowerShell
Enable Network Watcher in a regionaz network watcher configure --resource-group 'NetworkWatcherRG' --locations 'eastus' --enabledNew-AzNetworkWatcher -Name 'NetworkWatcher_eastus' -ResourceGroupName 'NetworkWatcherRG' -Location 'eastus'
Start a packet captureaz network watcher packet-capture create --name 'myVM_1' --resource-group 'myResourceGroup' --vm 'myVM' --storage-account 'mystorageaccount'New-AzNetworkWatcherPacketCapture -Location 'eastus' -PacketCaptureName 'myVM_1' -TargetVirtualMachineId $vm.Id -StorageAccountId $storageAccount.Id
Check the status of a packet captureaz network watcher packet-capture show-status --location 'eastus' --name 'myVM_1'-
Stop a packet captureaz network watcher packet-capture stop --location 'eastus' --name 'myVM_1'-
Create a VNet flow log with traffic analyticsaz network watcher flow-log create --location 'eastus' --name 'myVNetFlowLog' --resource-group 'myResourceGroup' --vnet 'myVNet' --storage-account 'myStorageAccount' --traffic-analytics true --workspace 'myWorkspace' --interval 10New-AzNetworkWatcherFlowLog -Enabled $true -Name 'myVNetFlowLog' -NetworkWatcherName 'NetworkWatcher_eastus' -ResourceGroupName 'NetworkWatcherRG' -StorageId $storageAccount.Id -TargetResourceId $vnet.Id -FormatVersion 2 -EnableTrafficAnalytics -TrafficAnalyticsWorkspaceId $workspace.ResourceId
Create a VNet flow log (no traffic analytics)az network watcher flow-log create --location 'eastus' --resource-group 'myResourceGroup' --name 'myVNetFlowLog' --vnet 'myVNet' --storage-account 'myStorageAccount'New-AzNetworkWatcherFlowLog -Enabled $true -Name 'myVNetFlowLog' -NetworkWatcherName 'NetworkWatcher_eastus' -ResourceGroupName 'NetworkWatcherRG' -StorageId $storageAccount.Id -TargetResourceId $vnet.Id -FormatVersion 2

Exam Tips

Tick each tip once you can answer it without looking.

“Which NSG rule blocks traffic to or from a VM?” → IP flow verify: returns allowed or denied and the rule name. Trap: It tests only TCP and UDP rules on the VM's NIC. For ICMP, scale sets or application gateways use NSG diagnostics.

“Where is traffic to a destination IP routed?” → Next hop: type, IP address and route table ID. Trap: IP flow verify checks security rules, not routes. Next hop returns System Route when no UDR applies.

“Test a connection once vs watch it over time” → Connection troubleshoot tests at a point in time. Connection monitor monitors continuously (packet loss, latency).. Trap: Connection monitor (classic) is deprecated and no longer available.

“Capture packets from a VM remotely” → Packet capture. The VM needs the AzureNetworkWatcherExtension. Save to disk or a storage blob.. Trap: Default time limit is 18,000 seconds (5 hours). Filters are 5-tuple based.

“Network Watcher isn't available in a region after you opted out” → Create a Network Watcher instance in that region (one per region per subscription). Trap: By default it's enabled automatically when you create or update a VNet there, with no charge.

“Log IP traffic for a whole VNet, including gateways and AVNM rules” → Virtual network flow logs (storage account: standard, same region). Trap: NSG flow logs retire on September 30, 2027 and no new ones can be created. Disable them first to avoid duplicates.

“Visualize and analyze flow log data with top talkers and open ports” → Traffic analytics: needs flow logs and a Log Analytics workspace. Trap: It analyzes flow logs; it doesn't collect traffic itself.

“Monitor connectivity from an on-premises server to Azure” → Connection monitor with an Azure Arc-enabled host as the source. Trap: The Log Analytics agent is no longer supported. Destinations need no extension.

“A connection monitor test shows Indeterminate” → No data in the Log Analytics workspace. Check metrics; endpoint status is re-evaluated every 24 hours.. Trap: Fail means thresholds were exceeded (or 100% failed checks with no threshold).

“Get a built-in view of network health and metrics with no setup” → Azure Monitor Network Insights (topology, health, metrics, connectivity, traffic). Trap: It uses connection monitor and flow logs for the Connectivity and Traffic tabs; those must be configured.

“Needs DDoS Rapid Response, cost protection, WAF discount or Basic SKU public IP protection” → DDoS Network Protection. Trap: DDoS IP Protection has the same core features but is per public IP and lacks those.

“Protect a web app from layer 7 attacks too” → DDoS Protection (L3/L4) plus a WAF. Trap: DDoS Protection alone covers network layers 3 and 4.

“One DDoS plan for many subscriptions” → A single DDoS protection plan can link VNets across subscriptions in one Microsoft Entra tenant. Trap: A protected VNet can't be moved between resource groups or subscriptions without disabling DDoS protection first.

“Alert when an IP is under attack” → Azure Monitor alert on Under DDoS attack or not, static, max, greater than or equal to 1. Trap: 0 means not under attack, 1 means under attack.

“Public IP of a NAT gateway needs DDoS protection” → Not supported: DDoS protection doesn't support a public IP attached to a NAT gateway. Trap: NAT gateway also doesn't support public IPs with DDoS protection enabled.

“Improve secure score for network controls” → Remediate all recommendations in the control (Secure management ports 8, Restrict unauthorized network access 4, Protect against DDoS 2). Trap: Preview recommendations don't count. Controls are recalculated every eight hours.

“Find the externally exploitable paths to critical assets, ranked by risk” → Attack path analysis (needs Defender CSPM and agentless scanning). Trap: Cloud security explorer runs your own graph queries. It doesn't rank attack paths.

“Query the environment for internet-exposed resources with lateral movement” → Cloud security explorer: graph-based queries or prebuilt templates (needs Defender CSPM). Trap: Foundational CSPM is free but doesn't include the explorer or attack path analysis.

Sources

Checked against Microsoft Learn on November 13, 2026.

← VNet Connectivity & RoutingCore Networking overview →