QuestionQ156

VerifiedImplement and manage virtual networking

You have an Azure subscription that contains the resources shown in the following table.

Question Image

NSG1 is configured as shown in the following exhibit.

Question Image

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

Yes or No
StatementsYesNo
VM1 can access storage1.
VM2 can access VM1 by using the HTTPS protocol.
The security rules for NSG1 apply to any virtual machine on VNET1.
Explanation

An NSG associated to a subnet applies to the resources in that subnet, not automatically to every resource in the virtual network. Because NSG1 is associated with one subnet and no network interfaces, its rules are scoped to that subnet only. The outbound rule with priority 145 allows TCP 443 from VirtualNetwork to the Storage service tag, so VM1 can reach the storage account. The inbound deny rule for HTTPS targets source Internet and destination 10.3.0.15, so it blocks only internet-originated HTTPS to VM1; traffic from VM2 is intra-VNet traffic and is allowed by the default AllowVnetInBound rule.

Learn more

Community Discussion

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