After you create a virtual machine, you need to modify the _______ to allow connections from TCP port 8080 to the virtual machine.
Choose the correct answer from the options below.
Please select at least one answer!
Correct!
I'm sorry, your answer is not correct.
Explanations for each answer:
Network security group (NSG) is correct
Virtual network gateway is incorrect. A virtual network gateway is used for connecting Azure virtual networks to on-premises networks or other Azure virtual networks. It does not control port-level access to individual VMs.
Virtual network is incorrect. A virtual network is a network infrastructure that enables Azure resources to communicate with each other, the internet, and on-premises networks. It does not directly control port-level access.
Route table is incorrect. A route table defines rules about how network traffic should be directed within an Azure virtual network. It controls routing paths but does not manage port-level access control.
Learn more about Azure network security groups (NSGs).