AZ-104 Implement and Manage Virtual Networking Practice Question
This AZ-104 practice question tests your understanding of implement and manage virtual networking. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Subnet NSG inbound rules:
Priority 100 Deny-RDP-All Source: Any Destination: Any Protocol: TCP Port: 3389
Priority 200 Allow-RDP-Admin Source: 192.168.10.0/24 Destination: Any Protocol: TCP Port: 3389
Priority 65000 AllowVNetInBound Source: VirtualNetwork Destination: VirtualNetwork Protocol: Any Port: *
Client IP: 192.168.10.25
Symptom: RDP times out before the logon prompt appears.
Based on the exhibit, a help desk engineer cannot RDP from an approved admin subnet to a VM in Azure. What change should the administrator make so the connection is allowed?
Subnet NSG inbound rules:
Priority 100 Deny-RDP-All Source: Any Destination: Any Protocol: TCP Port: 3389
Priority 200 Allow-RDP-Admin Source: 192.168.10.0/24 Destination: Any Protocol: TCP Port: 3389
Priority 65000 AllowVNetInBound Source: VirtualNetwork Destination: VirtualNetwork Protocol: Any Port: *
Client IP: 192.168.10.25
Symptom: RDP times out before the logon prompt appears.
A
Change the deny rule to use UDP instead of TCP.
Why wrong: RDP uses TCP 3389 for the primary connection. Changing the deny rule protocol to UDP does not permit the required TCP traffic and would not solve the timeout.
B
Move Allow-RDP-Admin to a priority lower than 100.
NSG rules are processed in priority order, and the lowest number wins. Because the deny rule at priority 100 matches first, the allow rule at 200 never takes effect. Moving the allow rule to a smaller number than 100 lets the approved subnet match the permit rule before the deny rule is evaluated.
C
Add the VM NIC to an application security group and leave the rules unchanged.
Why wrong: Application security groups help target rules, but they do not override an earlier deny rule. The priority conflict still blocks RDP even if the VM is in an ASG.
D
Delete the default AllowVNetInBound rule.
Why wrong: The default allow rule is not the reason the approved subnet is blocked. Removing it would reduce connectivity further and would not fix the higher-priority deny rule.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Move Allow-RDP-Admin to a priority lower than 100.
The exhibit shows a deny rule with priority 100 that blocks all inbound traffic from the approved admin subnet, and an allow rule for RDP with a priority lower than 100 (e.g., 200). Since Azure Network Security Group (NSG) rules are evaluated in priority order (lowest number first), the deny rule at priority 100 is evaluated before the allow rule at a lower priority, thus blocking the RDP connection. To allow the RDP traffic, the administrator must move the Allow-RDP-Admin rule to a priority lower than 100 (e.g., 90) so it is evaluated before the deny rule.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Change the deny rule to use UDP instead of TCP.
Why it's wrong here
RDP uses TCP 3389 for the primary connection. Changing the deny rule protocol to UDP does not permit the required TCP traffic and would not solve the timeout.
✓
Move Allow-RDP-Admin to a priority lower than 100.
Why this is correct
NSG rules are processed in priority order, and the lowest number wins. Because the deny rule at priority 100 matches first, the allow rule at 200 never takes effect. Moving the allow rule to a smaller number than 100 lets the approved subnet match the permit rule before the deny rule is evaluated.
Related concept
Read the scenario before looking for a memorised answer.
✗
Add the VM NIC to an application security group and leave the rules unchanged.
Why it's wrong here
Application security groups help target rules, but they do not override an earlier deny rule. The priority conflict still blocks RDP even if the VM is in an ASG.
✗
Delete the default AllowVNetInBound rule.
Why it's wrong here
The default allow rule is not the reason the approved subnet is blocked. Removing it would reduce connectivity further and would not fix the higher-priority deny rule.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume allow rules always override deny rules, but in Azure NSGs, the rule with the lowest priority number (highest precedence) wins, regardless of whether it is an allow or deny rule.
Detailed technical explanation
How to think about this question
Azure NSGs process rules in ascending priority order, and once a rule matches, evaluation stops (no further rules are checked). This means a deny rule with a lower priority number (e.g., 100) will block traffic even if a subsequent allow rule exists with a higher priority number (e.g., 200). In real-world scenarios, this often catches administrators off guard when they add a broad deny rule for security but forget to place specific allow rules at a lower priority, leading to connectivity failures for legitimate traffic.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Move Allow-RDP-Admin to a priority lower than 100. — The exhibit shows a deny rule with priority 100 that blocks all inbound traffic from the approved admin subnet, and an allow rule for RDP with a priority lower than 100 (e.g., 200). Since Azure Network Security Group (NSG) rules are evaluated in priority order (lowest number first), the deny rule at priority 100 is evaluated before the allow rule at a lower priority, thus blocking the RDP connection. To allow the RDP traffic, the administrator must move the Allow-RDP-Admin rule to a priority lower than 100 (e.g., 90) so it is evaluated before the deny rule.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.