easymultiple choiceObjective-mapped

An administrator needs two non-overlapping VNets in the same region to communicate directly over private IP addresses without deploying a gateway. What should be configured?

Question 1easymultiple choice
Full question →

An administrator needs two non-overlapping VNets in the same region to communicate directly over private IP addresses without deploying a gateway. What should be configured?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

VNet peering between the two virtual networks.

VNet peering provides private, low-latency communication between virtual networks when their address spaces do not overlap.

B

Distractor review

A site-to-site VPN gateway connection.

VPN gateways are used for encrypted network connections, but they are not required for direct VNet-to-VNet communication.

C

Distractor review

A service endpoint on both subnets.

Service endpoints extend subnet identity to a service, but they do not connect two VNets together.

D

Distractor review

A route table with default routes to each VNet.

Route tables can influence next hops, but they do not create the private connectivity needed between VNets.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: VNet peering between the two virtual networks. — VNet peering is the correct choice when two Azure virtual networks need direct private communication without a gateway. Peering uses Microsoft’s backbone network, so traffic stays on the Azure network fabric rather than crossing the public internet. Because the VNets are in the same region and do not overlap, peering is simple to deploy and gives the application teams low latency and straightforward connectivity. Why others are wrong: A site-to-site VPN gateway is for connecting Azure to on-premises or other routed networks, which is unnecessary overhead here. Service endpoints are for secure access to supported Azure services, not VNet-to-VNet communication. A route table changes packet routing, but it does not establish the actual private connection between the two virtual networks.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.