QuestionQ244

VerifiedImplement and manage virtual networking

You implement the planned changes for NSG1 and NSG2.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Yes or No
StatementsYesNo
From VM1, you can establish a Remote Desktop session to VM2.
From VM2, you can ping VM3.
From VM2, you can establish a Remote Desktop session to VM3.
Explanation

NSG rules are stateful: when inbound TCP 3389 is allowed to VM2, return traffic for that connection is permitted, so VM1 can establish a Remote Desktop session to VM2. The outbound rule on NSG2 denies new TCP 3389 connections from VM2 but doesn't deny ICMP, so VM2-initiated RDP to VM3 is blocked while ping is allowed. Outbound traffic that no custom rule matches is evaluated against the default rules: AllowVnetOutBound permits traffic to the VirtualNetwork service tag, which covers the virtual network's own address space and any peered virtual networks.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!