You have two Azure virtual networks named VNet1 and VNet2. VNet1 contains an Azure virtual machine named VM1. VNet2 contains an Azure virtual machine named VM2.
VM1 hosts a frontend application that connects to VM2 to retrieve data.
Users report that the frontend application is slower than usual.
You need to view the average round-trip time (RTT) of the packets from VM1 to VM2.
Which Azure Network Watcher feature should you use?
Click on the arrows to vote for the correct answer
A. B. C. D.C
The connection monitor capability monitors communication at a regular interval and informs you of reachability, latency, and network topology changes between the VM and the endpoint
Incorrect Answers:
A: The IP flow verify capability enables you to specify a source and destination IPv4 address, port, protocol (TCP or UDP), and traffic direction (inbound or outbound). IP flow verify then tests the communication and informs you if the connection succeeds or fails. If the connection fails, IP flow verify tells you which security rule allowed or denied the communication, so that you can resolve the problem.
B: The connection troubleshoot capability enables you to test a connection between a VM and another VM, an FQDN, a URI, or an IPv4 address. The test returns similar information returned when using the connection monitor capability, but tests the connection at a point in time, rather than monitoring it over time, as connection monitor does.
D: The NSG flow log capability allows you to log the source and destination IP address, port, protocol, and whether traffic was allowed or denied by an NSG.
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overviewThe correct answer is C. Connection monitor.
Explanation:
Azure Network Watcher is a service that provides monitoring and diagnostic capabilities for Azure virtual networks. Among the features it offers are IP flow verify, Connection troubleshoot, Connection monitor, and NSG flow logs.
To troubleshoot the reported slow performance of the frontend application, we need to determine the average round-trip time (RTT) of the packets from VM1 to VM2. This information can be obtained by using the Connection monitor feature of Azure Network Watcher.
Connection monitor is used to test and monitor the connectivity between two virtual machines or a virtual machine and an endpoint. It generates synthetic traffic between the source and destination, and provides insights into the network performance and connectivity.
To use the Connection monitor feature, follow these steps:
Navigate to the Azure portal and open the Network Watcher service.
Click on the Connection monitor tab in the left-hand menu.
Click on the +Add button to create a new connection monitor.
Provide a name and select the source and destination virtual machines (VM1 and VM2 in this case).
Configure the protocol, port, and test frequency as needed.
Click on Create to create the connection monitor.
Once the connection monitor is created, it will start generating synthetic traffic between VM1 and VM2. The Connection monitor dashboard will display the average RTT, packet loss, and other metrics for the connection.
By using the Connection monitor feature, we can identify if there is any network latency or packet loss between VM1 and VM2, which could be causing the slow performance of the frontend application.