Question 383 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 is deploying a new VPN gateway in an existing VNet. The GatewaySubnet currently uses a /28 range, and the deployment fails because the selected gateway configuration does not have enough available IP addresses. What is the best action?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

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

Expand GatewaySubnet to a larger range, such as /27, and redeploy the VPN gateway.

The GatewaySubnet requires a minimum /27 range to support most VPN gateway SKUs, as Azure reserves several IP addresses for internal use and the gateway instances need at least 3–6 usable IPs depending on the SKU. Expanding the subnet to /27 provides enough addresses (32 total, minus reserved) to satisfy the gateway's allocation requirements, allowing the deployment to succeed.

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.

  • Move one of the gateway's NICs into a normal workload subnet.

    Why it's wrong here

    VPN gateway components must remain in GatewaySubnet and cannot be moved to a workload subnet.

    When this WOULD be correct

    If a question asks how to free up IP addresses in a subnet for a new resource, and the subnet contains a VM with an unused NIC, moving that NIC to another subnet could release its IP address.

  • Expand GatewaySubnet to a larger range, such as /27, and redeploy the VPN gateway.

    Why this is correct

    GatewaySubnet is a dedicated subnet for VPN gateway resources, and the gateway requires enough free IP addresses to deploy and operate. If the current prefix is too small for the chosen configuration, the correct fix is to expand the subnet to a larger size, such as /27, if the VNet address space allows it. After resizing, the administrator can retry the gateway deployment with adequate capacity.

    Clue confirmation

    The clue word "best" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a private endpoint inside GatewaySubnet to reserve extra addresses.

    Why it's wrong here

    Private endpoints do not reserve gateway capacity and are not used to fix gateway IP shortages.

    When this WOULD be correct

    A question where a service needs to be accessed securely from on-premises without exposing it to the internet, and the subnet has sufficient IP capacity. For example: 'You need to access an Azure Storage account from on-premises over a private connection. What should you create in a subnet?'

  • Enable BGP so the gateway needs fewer IP addresses.

    Why it's wrong here

    BGP affects route exchange, not the IP address requirements of the GatewaySubnet itself.

    When this WOULD be correct

    In a scenario where a VPN gateway is failing to establish BGP peering due to missing configuration, enabling BGP on the gateway and the on-premises device would be the correct action to allow dynamic route exchange.

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.

Expand GatewaySubnet to a larger range, such as /27, and redeploy the VPN gateway.Correct answer

Why this is correct

GatewaySubnet is a dedicated subnet for VPN gateway resources, and the gateway requires enough free IP addresses to deploy and operate. If the current prefix is too small for the chosen configuration, the correct fix is to expand the subnet to a larger size, such as /27, if the VNet address space allows it. After resizing, the administrator can retry the gateway deployment with adequate capacity.

Move one of the gateway's NICs into a normal workload subnet.Wrong answer — click to see why

Why this is wrong here

Moving a gateway NIC into a normal workload subnet is not supported; VPN gateway NICs must reside in the GatewaySubnet. This action would break the gateway deployment.

★ When this WOULD be the correct answer

If a question asks how to free up IP addresses in a subnet for a new resource, and the subnet contains a VM with an unused NIC, moving that NIC to another subnet could release its IP address.

Why candidates choose this

Candidates may think that moving NICs is a general method to free IP addresses, not realizing that gateway NICs are tied to the GatewaySubnet and cannot be relocated.

Create a private endpoint inside GatewaySubnet to reserve extra addresses.Wrong answer — click to see why

Why this is wrong here

Creating a private endpoint inside GatewaySubnet does not increase the number of available IP addresses for the VPN gateway; private endpoints consume IP addresses from the subnet, making the shortage worse.

★ When this WOULD be the correct answer

A question where a service needs to be accessed securely from on-premises without exposing it to the internet, and the subnet has sufficient IP capacity. For example: 'You need to access an Azure Storage account from on-premises over a private connection. What should you create in a subnet?'

Why candidates choose this

Candidates may confuse private endpoints with a method to reserve or allocate IP addresses, not realizing they actually consume addresses and are unrelated to gateway IP requirements.

Enable BGP so the gateway needs fewer IP addresses.Wrong answer — click to see why

Why this is wrong here

Enabling BGP does not reduce the number of IP addresses required by the VPN gateway; BGP is a routing protocol that exchanges routes, not a method to change IP address consumption. The gateway still needs the same number of IP addresses for its instances.

★ When this WOULD be the correct answer

In a scenario where a VPN gateway is failing to establish BGP peering due to missing configuration, enabling BGP on the gateway and the on-premises device would be the correct action to allow dynamic route exchange.

Why candidates choose this

Candidates may mistakenly think BGP reduces IP address usage because BGP can aggregate routes, but this does not affect the gateway's own IP address requirements.

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 assume a /28 subnet is always sufficient because it works for smaller gateways, but they overlook that larger SKUs or active-active configurations require more IPs, and Azure's reservation of 5 addresses per subnet further reduces usable space.

Detailed technical explanation

How to think about this question

Azure VPN gateways are deployed as two or more instances in an active/standby or active/active configuration, each requiring an IP address from the GatewaySubnet. The /28 range (16 addresses) typically leaves only 3–11 usable IPs after Azure reserves 5 addresses (for networking infrastructure), which is insufficient for larger SKUs like VpnGw3 that need 6 IPs. Expanding to /27 (32 addresses) ensures enough capacity for future scaling and high-availability scenarios.

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

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

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: Expand GatewaySubnet to a larger range, such as /27, and redeploy the VPN gateway. — The GatewaySubnet requires a minimum /27 range to support most VPN gateway SKUs, as Azure reserves several IP addresses for internal use and the gateway instances need at least 3–6 usable IPs depending on the SKU. Expanding the subnet to /27 provides enough addresses (32 total, minus reserved) to satisfy the gateway's allocation requirements, allowing the deployment to succeed.

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.

Are there clue words in this question I should notice?

Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

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.