You plan to deploy several Azure virtual machines.
You need to control the ports that devices on the Internet can use to access the virtual machines.
What should you use?
Answer
Correct Answer: A
A network security group (NSG) is a service in Azure that allows you to control inbound and outbound network traffic to and from Azure resources.
You can create rules that specify the ports and protocols that can be used to access your virtual machines, and you can apply the NSG to individual virtual machines or to a subnet in a virtual network.
This capability allows you to specify source and destination IP addresses, ports, and protocols, effectively functioning like an internal firewall.
