easymultiple choiceObjective-mapped

A subnet NSG contains a deny RDP rule from Any at priority 200. The administrator must allow RDP from 10.8.0.0/24 to the virtual machines in that subnet. What should the administrator do?

Question 1easymultiple choice
Full question →

A subnet NSG contains a deny RDP rule from Any at priority 200. The administrator must allow RDP from 10.8.0.0/24 to the virtual machines in that subnet. What should the administrator do?

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

Create an allow rule with a higher priority number than 200.

Higher priority numbers are evaluated later, so the deny rule would still block RDP traffic first.

B

Best answer

Create an allow rule with a lower priority number than 200.

NSG rules are processed in priority order, and the lowest number wins. The allow rule must come before the deny rule.

C

Distractor review

Add a route table entry for TCP 3389.

Route tables choose next hops for traffic, but they do not permit or deny ports like an NSG does.

D

Distractor review

Disable the default security rules on the NSG.

Default rules are built in and are not the reason the custom deny rule blocks this traffic.

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: Create an allow rule with a lower priority number than 200. — Azure Network Security Groups evaluate rules from the lowest priority number to the highest. Because a deny RDP rule already exists at priority 200, the administrator must add an allow rule with a smaller number, such as 100, so it is processed first. The source should be restricted to 10.8.0.0/24, which keeps the access limited to the approved admin subnet while still permitting RDP. Why others are wrong: A higher priority number is evaluated after the deny rule, so it would not override the block. A route table cannot open or close TCP ports. Disabling default security rules is unnecessary here and does not address the custom deny rule that is already controlling the traffic flow.

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.