Question 1,124 of 1,170
Implement and Manage Virtual NetworkingmediumMultiple 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. 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.

An administrator added an NSG rule named Allow-Admin-HTTPS with priority 250 to permit inbound TCP 443 from a single public IP. The NSG also contains a Deny-All-Inbound rule with priority 200. The administrator still cannot connect to the VM over HTTPS from the allowed IP. What should be changed to resolve the issue?

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

Change the allow rule priority to a number lower than 200.

The Deny-All-Inbound rule with priority 200 is evaluated before the Allow-Admin-HTTPS rule with priority 250 because NSG rules are processed in order of ascending priority (lower numbers are evaluated first). Since the deny rule matches all inbound traffic, it blocks the HTTPS connection before the allow rule can be evaluated. To resolve this, the allow rule must have a priority lower than 200 (e.g., 150) so it is evaluated first and permits the traffic from the specified public IP.

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 allow rule priority to a number lower than 200.

    Why this is correct

    NSG rules are evaluated in ascending priority order, so the lower number is processed first. Because Deny-All-Inbound at 200 is taking effect before the allow rule at 250, the connection is blocked. Moving the allow rule to a priority such as 150 ensures the specific HTTPS exception is matched before the broad deny rule.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Change the deny rule priority to 65000 so it is evaluated first.

    Why it's wrong here

    A higher numeric priority is evaluated later, not earlier, so this would not fix the problem correctly.

    When this WOULD be correct

    This option would be correct if the question stated that the deny rule was blocking traffic that should be allowed, and the goal was to ensure the deny rule is evaluated last (e.g., to allow all other traffic by default). For example, if the question said: 'An NSG has an allow rule for RDP and a deny-all rule with priority 100. The administrator wants to ensure that the deny-all rule is evaluated last. What should be done?'

  • Convert the allow rule to an outbound rule instead of inbound.

    Why it's wrong here

    The issue is inbound access to the VM, so an outbound rule would not affect the connection attempt.

    When this WOULD be correct

    In a scenario where a VM needs to initiate HTTPS connections to an external server, and outbound traffic is being blocked by a default deny outbound rule, adding an outbound allow rule with appropriate priority would resolve the issue.

  • Replace the NSG with a route table so HTTPS can pass through the subnet.

    Why it's wrong here

    Route tables affect next-hop selection, not packet अनुमति decisions for inbound traffic.

    When this WOULD be correct

    A question where a VM in a subnet cannot reach the internet or another network due to missing or incorrect routes (e.g., no default route to the internet), and the solution is to add a route table with a proper next hop.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Change the allow rule priority to a number lower than 200.Correct answer

Why this is correct

NSG rules are evaluated in ascending priority order, so the lower number is processed first. Because Deny-All-Inbound at 200 is taking effect before the allow rule at 250, the connection is blocked. Moving the allow rule to a priority such as 150 ensures the specific HTTPS exception is matched before the broad deny rule.

Change the deny rule priority to 65000 so it is evaluated first.Wrong answer — click to see why

Why this is wrong here

In Azure, NSG rules are evaluated in priority order, with lower numbers evaluated first. A deny rule with priority 200 is evaluated before an allow rule with priority 250, so changing the deny rule priority to 65000 (a higher number) would cause it to be evaluated later, but the allow rule still has a higher priority number (250) than the deny rule (200), so the deny rule would still be evaluated first. The correct fix is to lower the allow rule priority below 200.

★ When this WOULD be the correct answer

This option would be correct if the question stated that the deny rule was blocking traffic that should be allowed, and the goal was to ensure the deny rule is evaluated last (e.g., to allow all other traffic by default). For example, if the question said: 'An NSG has an allow rule for RDP and a deny-all rule with priority 100. The administrator wants to ensure that the deny-all rule is evaluated last. What should be done?'

Why candidates choose this

Candidates may think that increasing the deny rule's priority number (making it lower priority) will allow the allow rule to take effect, but they overlook that the allow rule's priority (250) is already higher than the deny rule's (200), so the deny rule is still evaluated first. They might also confuse priority numbers with precedence, thinking higher numbers are evaluated first.

Convert the allow rule to an outbound rule instead of inbound.Wrong answer — click to see why

Why this is wrong here

The issue is that the Deny-All-Inbound rule with priority 200 is evaluated before the Allow-Admin-HTTPS rule with priority 250, blocking the traffic. Changing the allow rule to outbound would not affect inbound HTTPS traffic, which is the problem.

★ When this WOULD be the correct answer

In a scenario where a VM needs to initiate HTTPS connections to an external server, and outbound traffic is being blocked by a default deny outbound rule, adding an outbound allow rule with appropriate priority would resolve the issue.

Why candidates choose this

Candidates may confuse inbound and outbound traffic directions, thinking that allowing outbound HTTPS would permit the connection, or they might misremember that NSG rules are stateful and assume outbound rules affect inbound traffic.

Replace the NSG with a route table so HTTPS can pass through the subnet.Wrong answer — click to see why

Why this is wrong here

Route tables control traffic routing between subnets and on-premises networks, not traffic filtering. They cannot permit or deny specific ports like HTTPS; NSGs are required for that.

★ When this WOULD be the correct answer

A question where a VM in a subnet cannot reach the internet or another network due to missing or incorrect routes (e.g., no default route to the internet), and the solution is to add a route table with a proper next hop.

Why candidates choose this

Candidates may confuse routing (route tables) with filtering (NSGs), thinking that a route table can allow traffic by directing it, rather than understanding that NSGs are the firewall for port-based access control.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume higher priority numbers mean higher precedence, but in Azure NSGs, lower priority numbers are evaluated first, so a deny rule with a lower number will block traffic before a higher-numbered allow rule can permit it.

Detailed technical explanation

How to think about this question

Azure NSGs evaluate rules in priority order, from lowest to highest number, and stop processing once a matching rule is found (the first match wins). The default DenyAllInbound rule has priority 65000, but custom deny rules at lower priorities can override allows. In this scenario, the deny rule at 200 matches all inbound traffic, so the allow rule at 250 is never reached. A common real-world scenario is when an administrator adds a high-priority deny rule for security but forgets to place critical allow rules at even lower priorities, causing connectivity failures.

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.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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 — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Change the allow rule priority to a number lower than 200. — The Deny-All-Inbound rule with priority 200 is evaluated before the Allow-Admin-HTTPS rule with priority 250 because NSG rules are processed in order of ascending priority (lower numbers are evaluated first). Since the deny rule matches all inbound traffic, it blocks the HTTPS connection before the allow rule can be evaluated. To resolve this, the allow rule must have a priority lower than 200 (e.g., 150) so it is evaluated first and permits the traffic from the specified public IP.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-104 practice questions

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.