easymultiple choiceObjective-mapped

An NSG on a subnet has these inbound rules: Deny-All-Inbound at priority 100 and Allow-RDP-from-AdminSubnet at priority 200. Administrators on AdminSubnet still cannot RDP to a VM in the subnet. What should the network administrator change?

Question 1easymultiple choice
Full question →

An NSG on a subnet has these inbound rules: Deny-All-Inbound at priority 100 and Allow-RDP-from-AdminSubnet at priority 200. Administrators on AdminSubnet still cannot RDP to a VM in the subnet. What should the network administrator change?

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 only the allow rule remains.

Removing the deny rule is unnecessary if a higher-priority allow rule can be placed ahead of it.

B

Best answer

Move the allow rule to a lower priority number than 100.

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

C

Distractor review

Change the VM to a different availability zone.

Availability zones do not affect NSG rule evaluation or inbound port access.

D

Distractor review

Create a private endpoint for the VM.

Private endpoints are for supported PaaS services, not for opening RDP to a virtual machine.

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: Move the allow rule to a lower priority number than 100. — Azure Network Security Groups process rules from lowest priority number to highest. Because Deny-All-Inbound is priority 100, it is matched before the allow rule at 200 and blocks the connection. The correct fix is to place the allow rule at a higher priority, such as 90 or 50, so it is evaluated first for traffic from AdminSubnet on the RDP port. Why others are wrong: Deleting the deny rule is not the best design if a targeted allow rule can be ordered correctly. Availability zones are unrelated to inbound filtering. Private endpoints do not provide administrative RDP access to VMs and are intended for private service access instead.

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.