mediummultiple choiceObjective-mapped

An application subnet has an NSG outbound rule Deny-HTTPS at priority 200 for TCP 443 to Any. A second outbound rule Allow-HTTPS-API at priority 300 permits TCP 443 from ASG-Web to ASG-Api. Web servers can reach other ports but not the API. What change should the administrator make?

Question 1mediummultiple choice
Full question →

An application subnet has an NSG outbound rule Deny-HTTPS at priority 200 for TCP 443 to Any. A second outbound rule Allow-HTTPS-API at priority 300 permits TCP 443 from ASG-Web to ASG-Api. Web servers can reach other ports but not the API. What change should the administrator make?

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

Delete the deny rule so the allow rule can be evaluated.

Removing the deny rule is unnecessary if the allow rule is given a higher priority.

B

Best answer

Change the allow rule to a higher priority than 200, such as 100.

NSGs process the lowest priority number first. Moving the allow rule above the deny rule permits the traffic.

C

Distractor review

Change the destination from ASG-Api to the entire subnet address range.

The destination address form is not the issue; the deny rule still wins because of priority.

D

Distractor review

Change the protocol from TCP to Any so the rule matches more traffic.

The rule already matches TCP 443 traffic; protocol widening does not resolve a higher-priority deny.

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: Change the allow rule to a higher priority than 200, such as 100. — Network security groups evaluate rules in priority order, where the lowest number is processed first. The deny rule at priority 200 is matched before the allow rule at 300, so TCP 443 traffic is blocked. To permit the API traffic, the allow rule must have a higher priority, such as 100, so it is evaluated before the deny rule and can take effect. Why others are wrong: Deleting the deny rule is not required if a more specific allow rule is placed first. Changing the destination range or protocol does not help when the deny rule still matches the same traffic earlier. The core issue is rule order, not the rule scope or protocol width.

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.