Question 1,010 of 1,170
Implement and Manage Virtual NetworkingeasyMultiple ChoiceObjective-mapped

AZ-104 Implement and Manage Virtual Networking Practice Question

This AZ-104 practice question tests your understanding of implement and manage virtual networking. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: nSG rules are processed by priority number, from lowest to highest.. 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.

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
Review the full subnetting walkthrough →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

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

B is correct because NSG rules are evaluated in priority order, with lower numbers having higher priority. The existing deny rule at priority 200 blocks all RDP traffic. To allow RDP from 10.8.0.0/24, a new allow rule must be created with a priority lower than 200 (e.g., 150) so it is evaluated before the deny rule, permitting the specific traffic.

Key principle: NSG rules are processed by priority number, from lowest to highest.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

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

    Why it's wrong here

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

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

    Why this is correct

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

    Related concept

    NSG rules are processed by priority number, from lowest to highest.

  • Add a route table entry for TCP 3389.

    Why it's wrong here

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

  • Disable the default security rules on the NSG.

    Why it's wrong here

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

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse priority numbers, thinking a higher number means higher priority, and incorrectly choose option A, or they mistakenly believe route tables can override NSG rules, leading them to option C.

Detailed technical explanation

How to think about this question

NSG rules are processed in ascending order of priority (lower number = higher priority) until a match is found; once a rule matches, no further rules are evaluated. The default rules include 'DenyAllInBound' at priority 65000, but custom rules take precedence. In this scenario, creating an allow rule at priority 150 ensures it is evaluated before the deny rule at 200, allowing RDP from 10.8.0.0/24 while still blocking other RDP sources. This is a common pattern for implementing 'allow specific, deny all else' policies.

KKey Concepts to Remember

  • NSG rules are processed by priority number, from lowest to highest.
  • The first matching NSG rule is applied, and subsequent rules are ignored.
  • Lower priority numbers indicate earlier evaluation for NSG rules.
  • An allow rule must have a lower priority than a conflicting deny rule to take precedence.

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

NSG rules are processed by priority number, from lowest to highest.

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.

What to study next

Got this wrong? Here's your next step.

Review nSG rules are processed by priority number, from lowest to highest., then practise related AZ-104 questions on the same topic to reinforce the concept.

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.

Practice this exam

Start a free AZ-104 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — NSG rules are processed by priority number, from lowest to highest..

What is the correct answer to this question?

The correct answer is: Create an allow rule with a lower priority number than 200. — B is correct because NSG rules are evaluated in priority order, with lower numbers having higher priority. The existing deny rule at priority 200 blocks all RDP traffic. To allow RDP from 10.8.0.0/24, a new allow rule must be created with a priority lower than 200 (e.g., 150) so it is evaluated before the deny rule, permitting the specific traffic.

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

Review nSG rules are processed by priority number, from lowest to highest., then practise related AZ-104 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

NSG rules are processed by priority number, from lowest to highest.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.