Topic 1 · Question 252
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Top comment
15 more highly voted comments
theManFromRoom5▲ 25Highly votedMarch 17, 2022 03:44 am
Haha "All of you guys saying that a Network Security Group (NSG) can be associated to a virtual network should be banned on taking this exam". Great approach, ban everyone who gets a question wrong
Saravana12g▲ 15Highly votedJune 12, 2021 05:20 am
Create a NSG in Azure Portal and you can see that you can attach it to only - Subnet and NIC. There's no VNET present in the Blade.
Saravana12g▲ 15Highly votedJune 12, 2021 05:20 am
Create a NSG in Azure Portal and you can see that you can attach it to only - Subnet and NIC. There's no VNET present in the Blade.
sandeepck▲ 10Highly votedJune 27, 2021 06:46 pm
@hercu is correct : YES, NO, YES
TexTheDog▲ 10Highly votedMay 13, 2021 02:51 am
You're absolutely incorrect.
it is YES YES YES
NSG can be attached to virtual network.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
it is YES YES YES
NSG can be attached to virtual network.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
Dev_56▲ 9Highly votedAugust 05, 2021 08:18 pm
That's for the subnet only.You first select the virtual network in which subnet resides. NSG cannot be associated with Virtual Network
rajkfx1▲ 9Highly votedJuly 29, 2021 04:19 pm
I just tried, when we click on subnet and associate NSG, there we can see both Virtual Network and subnet. so the answer should be YYY
Dev_56▲ 9Highly votedAugust 05, 2021 08:18 pm
That's for the subnet only.You first select the virtual network in which subnet resides. NSG cannot be associated with Virtual Network
rajkfx1▲ 9Highly votedJuly 29, 2021 04:19 pm
I just tried, when we click on subnet and associate NSG, there we can see both Virtual Network and subnet. so the answer should be YYY
Dev_56▲ 9Highly votedAugust 05, 2021 08:18 pm
That's for the subnet only.You first select the virtual network in which subnet resides. NSG cannot be associated with Virtual Network
rajkfx1▲ 9Highly votedJuly 29, 2021 04:19 pm
I just tried, when we click on subnet and associate NSG, there we can see both Virtual Network and subnet. so the answer should be YYY
Dev_56▲ 9Highly votedAugust 05, 2021 08:18 pm
That's for the subnet only.You first select the virtual network in which subnet resides. NSG cannot be associated with Virtual Network
pprajapa▲ 8Highly votedMay 14, 2021 05:54 pm
I did a test. We dont associate NSG with Virtual network we have to associate it with either the NIC or the subnet.
SnakePlissken▲ 7Highly votedMarch 15, 2021 12:00 am
Answer is Correct.
a. Yes
b. No
c. Yes
Explanation: Network security groups are assigned to a network interface or a subnet. When you assign a network security group to a subnet, the rules apply to all network interfaces in that subnet. You can restrict traffic further by associating a network security group to the network interface of a VM.
Source: https://docs.microsoft.com/en-us/learn/modules/secure-and-isolate-with-nsg-and-service-endpoints/2-network-security-groups
a. Yes
b. No
c. Yes
Explanation: Network security groups are assigned to a network interface or a subnet. When you assign a network security group to a subnet, the rules apply to all network interfaces in that subnet. You can restrict traffic further by associating a network security group to the network interface of a VM.
Source: https://docs.microsoft.com/en-us/learn/modules/secure-and-isolate-with-nsg-and-service-endpoints/2-network-security-groups
ricerocket▲ 7Highly votedMay 02, 2021 03:12 am
read here and answer from #140, nsg can be attached to virtual network.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
All of you guys saying that a Network Security Group (NSG) can be associated to a virtual network should be banned on taking this exam as you just misguide others. Please make some research before you decide to leave some worthless comment.
“You can associate zero, or one, network security group to each virtual network subnet and network interface in a virtual machine. The same network security group can be associated to as many subnets and network interfaces as you choose.”
References: https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
Note: It clearly says it must be either a subnet (not a virtual network) or a NIC.