BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-104 Exam - Topic 3 Question 144 Discussion

Posted by Shad on Dec 01, 2026 at 02:21 AM

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

VM1 and VM2 are deployed from the same template and host line-of-business applications accessed by using Remote Desktop. You configure the network security group (NSG) shown in the exhibit. (Click the Exhibit button.)

You need to prevent users of VM1 and VM2 from accessing websites on the Internet.

What should you do?

Exhibit

Exhibit

Suggested Answer: A

The NSG already contains an outbound rule (DenyWebSites, TCP port 80, Any source to Internet destination, Deny, priority 1000) that would block outbound web access - it is correctly configured. However, the exhibit shows the NSG is associated with 0 subnets and 0 network interfaces, meaning it is not currently enforcing any traffic. Since VM1 and VM2 share Subnet1, the most efficient fix is to associate the NSG at the subnet level (Subnet1), which immediately applies its rules to both VMs' NICs. Disassociating from a NIC would do nothing (it isn't associated to any NIC). Modifying the already-correct DenyWebSites or the unrelated Port_80 inbound rule would not fix the root cause, which is that the NSG is not attached to any network boundary.

Official Reference

How network security groups filter network traffic --- https://learn.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works


Get Premium AZ-104 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
0 comments · newest first

Currently there are no comments in this discussion, be the first to comment!

0/2000 characters

Save Cancel