AZ-500 · Question #155
SIMULATION You need to ensure that connections from the Internet to VNET1\subnet0 are allowed only over TCP port 7777. The solution must use only currently deployed resources. To complete this task…
The correct approach is to configure an inbound security rule on the Network Security Group (NSG) associated with subnet0, specifying the source as 'Internet', destination port as '7777', protocol as 'TCP', and action as 'Allow', while ensuring any broader allow rules have a…
Question
Explanation
The correct approach is to configure an inbound security rule on the Network Security Group (NSG) associated with subnet0, specifying the source as 'Internet', destination port as '7777', protocol as 'TCP', and action as 'Allow', while ensuring any broader allow rules have a higher priority number (lower priority) or adding a deny-all rule. NSGs are the native Azure mechanism for filtering network traffic at the subnet or NIC level, and since the question requires using only currently deployed resources, creating a new NSG is not allowed - only the existing one must be modified. This solution correctly restricts inbound Internet traffic to only TCP port 7777 without provisioning any new resources.
Topics
Community Discussion
No community discussion yet for this question.