Courseiva
Implement and Manage Virtual NetworkingmediumMultiple ChoiceObjective-mapped

AZ-104 Implement and Manage Virtual Networking Practice Question

You need to connect VNet-Hub and VNet-Spoke so that resources in both virtual networks can communicate privately over the Microsoft backbone. Both virtual networks are in the same region. What should you configure?

⚠ Common exam trap

Microsoft often tests the misconception that a site-to-site VPN is required for private connectivity between VNets, but VNet peering is the native, simpler solution for same-region private communication over the Microsoft backbone.

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

Virtual network peering

Virtual network peering (A) is the correct solution because it enables direct, private connectivity between two virtual networks over the Microsoft backbone infrastructure. Since both VNets are in the same region, you can use standard VNet peering, which routes traffic between the peered networks using only private IP addresses, with no internet transit or gateway required. This meets the requirement for private communication without any additional VPN or gateway overhead.

Answer analysis

Option-by-option breakdown

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

  • Virtual network peering

    Why this is correct

    VNet peering is the correct solution for private, low-latency communication between Azure VNets.

  • A site-to-site VPN

    Why it's wrong here

    A site-to-site VPN is typically used to connect on-premises networks to Azure.

    When this WOULD be correct

    You need to connect an on-premises network to an Azure virtual network securely over the internet, using IPsec/IKE tunnels.

  • A network security group

    Why it's wrong here

    An NSG filters traffic but does not create connectivity between VNets.

    When this WOULD be correct

    You need to restrict inbound traffic to a specific subnet in a virtual network from the internet, allowing only HTTP and HTTPS traffic while denying all other inbound connections.

  • An Azure Policy assignment

    Why it's wrong here

    Azure Policy governs configuration standards, not network connectivity.

    When this WOULD be correct

    An Azure Policy assignment would be correct when you need to enforce that all virtual networks in a subscription use a specific DNS server or require that VNet peering is only allowed with approved VNets.

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.

Virtual network peeringCorrect answer

Why this is correct

VNet peering is the correct solution for private, low-latency communication between Azure VNets.

A site-to-site VPNWrong answer — click to see why

Why this is wrong here

A site-to-site VPN connects on-premises networks to Azure via the internet, not for private VNet-to-VNet communication within the same region over the Microsoft backbone.

★ When this WOULD be the correct answer

You need to connect an on-premises network to an Azure virtual network securely over the internet, using IPsec/IKE tunnels.

Why candidates choose this

Candidates may confuse site-to-site VPN with VNet-to-VNet connectivity, thinking VPN is required for any cross-network private communication.

A network security groupWrong answer — click to see why

Why this is wrong here

A network security group (NSG) filters traffic at the subnet or NIC level but does not establish connectivity between virtual networks; it cannot enable private communication across VNets.

★ When this WOULD be the correct answer

You need to restrict inbound traffic to a specific subnet in a virtual network from the internet, allowing only HTTP and HTTPS traffic while denying all other inbound connections.

Why candidates choose this

Candidates may confuse traffic filtering with connectivity, thinking an NSG can somehow bridge networks, or they may misapply its role in securing cross-VNet traffic.

An Azure Policy assignmentWrong answer — click to see why

Why this is wrong here

Azure Policy assignment is used to enforce compliance rules across resources, not to establish network connectivity. It cannot enable private communication between virtual networks.

★ When this WOULD be the correct answer

An Azure Policy assignment would be correct when you need to enforce that all virtual networks in a subscription use a specific DNS server or require that VNet peering is only allowed with approved VNets.

Why candidates choose this

Candidates may confuse policy-based management with network configuration, thinking that a policy can dictate connectivity rules between VNets.

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?”

About these practice questions

One of 1,049 original AZ-104 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.