easymultiple choiceObjective-mapped

Exhibit

Inbound NSG rules on subnet AppSubnet:
1. Priority 100: Deny-HTTPS, Source=Any, Destination=Any, Port=443, Action=Deny
2. Priority 200: Allow-HTTPS-Admins, Source=10.10.1.0/24, Destination=Any, Port=443, Action=Allow
Observed result: Admins from 10.10.1.25 cannot open the site on TCP 443.

Based on the exhibit, administrators can reach a web server from the approved subnet, but connections still fail. What is the most likely reason?

Question 1easymultiple choice
Full question →

Based on the exhibit, administrators can reach a web server from the approved subnet, but connections still fail. What is the most likely reason?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

The allow rule is blocked because inbound rules are evaluated from highest priority number to lowest.

NSG rules are evaluated from the lowest priority number to the highest, so this rule order is not the issue.

B

Best answer

The deny rule has a higher priority and matches the traffic before the allow rule.

Azure NSG evaluation uses the lowest priority number first. In the exhibit, the deny rule at priority 100 matches TCP 443 from Any, so it blocks the traffic before the later allow rule at priority 200 is considered. To fix the issue, the allow rule must be placed above the deny rule or the deny rule must be narrowed.

C

Distractor review

The destination port must be changed to 80 because NSGs cannot allow TCP 443.

NSGs fully support TCP 443, and HTTPS traffic can be allowed when the rule order and match criteria are correct.

D

Distractor review

The subnet requires a route table before HTTPS can be permitted.

Route tables affect next-hop selection, not whether an NSG allows or denies a packet on a port.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: The deny rule has a higher priority and matches the traffic before the allow rule. — The exhibit shows a deny rule at priority 100 and an allow rule at priority 200 for the same traffic. Azure processes NSG rules in ascending priority order, so the deny rule is applied first and stops the packet. Even though the source subnet is included in the allow rule, it never gets evaluated. The fix is to move the allow rule to a higher priority than the deny or refine the deny rule. Why others are wrong: NSGs are not evaluated from highest to lowest priority; lower numbers win. TCP 443 is a valid NSG port, so the protocol is not the problem. A route table does not change NSG decision-making, because routing and security filtering are separate functions in Azure networking.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.