You have an Azure subscription named Subscription1 that has the following providers registered:
Subscription1 contains an Azure virtual machine named VM1 that has the following configurations:
Private IP address: 10.0.0.4 (dynamic)
Network security group (NSG): NSG1
Public IP address: None
Availability set: AVSet
Managed disks: No
Location: East US -
You need to record all the successful and failed connection attempts to VM1.
Which three actions should you perform? Each correct answer presents part of the solution.
A network security group (NSG) enables you to filter inbound traffic to, and outbound traffic from, a virtual machine (VM). You can log network traffic that flows through an NSG with Network Watcher's NSG flow log capability. In this tutorial, you learn how to:
Create a VM with a network security group
Enable Network Watcher and register the Microsoft.Insights provider
Enable a traffic flow log for an NSG, using Network Watcher's NSG flow log capability
Download logged data
View logged data