Based on the exhibit, which Network Watcher tool should you use to determine whether an NSG allows or denies TCP 1433 traffic and which rule is responsible?
Exhibit
Troubleshooting notes: - Source VM: vm-app01 - Destination VM: vm-sql01 - Port: TCP 1433 - Symptom: Connection times out - Goal: Verify whether the packet is allowed or denied by NSG rules and identify the rule name - Need a point-in-time check from the VM NIC perspective
Trap 1: Connection troubleshoot
Connection troubleshoot is wrong for this scenario because it performs an end-to-end connectivity test between a source VM and a target destination over a given protocol and port, reporting latency, path hops, and any failures. However, a failed connection can result from multiple causes—such as routing issues, DNS resolution, network virtual appliances, or workload misconfigurations—and the output does not specifically identify which NSG rule allowed or denied the traffic. It is useful for general connectivity problems, but it lacks the rule-level precision needed to determine whether an NSG permits a specific TCP flow.
Trap 2: Packet capture
Packet capture is incorrect here because it records raw network traffic at the virtual machine's network interface, capturing the actual packets that traverse the NIC for later analysis with packet inspection tools. While this can reveal whether packets were sent or received, it does not directly report which NSG rule matched or whether traffic was blocked before reaching the OS—because packets dropped by an NSG never appear in the capture. It requires extensive manual analysis and cannot provide the definitive 'allowed/denied' answer with the governing rule that IP flow verify delivers.
Trap 3: Next hop
Next hop is not the correct tool because it focuses exclusively on layer-3 routing: given a source VM and a destination IP, it returns the next hop type (e.g., internet, virtual network, virtual appliance, VPN gateway) and the next hop IP address. This indicates which route is used to forward traffic, but it completely ignores layer-4 protocol and port information and never evaluates NSG security rules. Therefore, it cannot determine whether an NSG would allow or deny a TCP flow—it only tells you the route the packet would take if it were allowed.
- A
IP flow verify
IP flow verify is the correct choice because it evaluates a specific 5-tuple (source IP, destination IP, protocol, and source/destination ports) against the effective NSG rules applied to a virtual machine's NIC or subnet. It returns an explicit allow/deny result along with the rule ID that permitted or blocked the traffic, making it purpose-built for answering 'does this NSG allow this TCP flow?' Unlike broader connectivity tests, it isolates NSG rule evaluation as the sole decision factor, so you know exactly which rule is responsible.
- B
Connection troubleshoot
Why wrong: Connection troubleshoot is wrong for this scenario because it performs an end-to-end connectivity test between a source VM and a target destination over a given protocol and port, reporting latency, path hops, and any failures. However, a failed connection can result from multiple causes—such as routing issues, DNS resolution, network virtual appliances, or workload misconfigurations—and the output does not specifically identify which NSG rule allowed or denied the traffic. It is useful for general connectivity problems, but it lacks the rule-level precision needed to determine whether an NSG permits a specific TCP flow.
- C
Packet capture
Why wrong: Packet capture is incorrect here because it records raw network traffic at the virtual machine's network interface, capturing the actual packets that traverse the NIC for later analysis with packet inspection tools. While this can reveal whether packets were sent or received, it does not directly report which NSG rule matched or whether traffic was blocked before reaching the OS—because packets dropped by an NSG never appear in the capture. It requires extensive manual analysis and cannot provide the definitive 'allowed/denied' answer with the governing rule that IP flow verify delivers.
- D
Next hop
Why wrong: Next hop is not the correct tool because it focuses exclusively on layer-3 routing: given a source VM and a destination IP, it returns the next hop type (e.g., internet, virtual network, virtual appliance, VPN gateway) and the next hop IP address. This indicates which route is used to forward traffic, but it completely ignores layer-4 protocol and port information and never evaluates NSG security rules. Therefore, it cannot determine whether an NSG would allow or deny a TCP flow—it only tells you the route the packet would take if it were allowed.