You deployed a web server on an Azure VM and configured a secure HTTPS site (port 443). The VM’s network interface has existing NSG rules as shown. The VM is used only as a web server. What change will allow users on the Internet to connect to the site?
Choose an answer
Tap an option to check your answer.
Correct answer: For Rule5, set Action to Allow and set Priority to 401.
Why this is the answer
The correct answer is to modify Rule5. Rule5 currently denies all inbound traffic from the Internet (source Any, destination Any, port Any). By changing its action to "Allow" and setting its priority to 401, it will permit the necessary HTTPS traffic on port 443. This priority is lower (higher precedence) than the default "DenyAllInbound" rule (priority 65500), ensuring the traffic is allowed before being implicitly denied. Changing the protocol of Rule4 is incorrect because Rule4 deals with SSH (port 22) and is irrelevant to HTTPS (port 443). Deleting Rule1 is incorrect as it allows RDP (port 3389) from a specific source, which is unrelated to web traffic. Creating a new inbound rule with priority 501 would be insufficient because Rule5, with its current priority of 500 and "Deny" action, would still block all traffic before the new rule is evaluated.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed