Microsoft Azure Administrator Associate AZ-104 Practice Question
You have an Azure virtual machine connected to a subnet. NSGs are associated with both the subnet and the virtual machine's network interface. You need to determine the combined security rules that are applied to the network interface using the Azure portal. What is the best way to achieve this?
Use the 'Effective security rules' option under the network interface settings.
Enable diagnostic settings on the NSGs to log the security rules.
Review the NSG rules applied to the subnet and network interface separately.
Use Azure Network Watcher to get the security rules.