CertLumen

Microsoft Azure Administrator (AZ-104) · Section 4 · 18% of the exam

Create and configure virtual network peering

One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Implement and manage virtual networking”. Here is what it covers, the points to remember and a question to try.

What it covers

A virtual network is the private network boundary for almost everything you run in Azure. This lesson covers address spaces, subnets and the five reserved addresses, DNS settings, private subnets and default outbound access, virtual network peering (settings, states, transit and limits) and Standard SKU public IP addresses.

Points to remember

  • A VNet is regional, free, and spans all availability zones of its region; subnets of one VNet must not overlap.
  • Azure reserves 5 addresses per subnet (first four and last); the smallest IPv4 subnet is /29 (3 usable), AzureBastionSubnet needs /26 or larger.
  • GatewaySubnet, AzureBastionSubnet and AzureFirewallSubnet have mandatory names and cannot hold other resources.
  • Peering needs a link on each VNet (Initiated then Connected), non-overlapping address spaces, and is not transitive.
  • Gateway transit is set on the hub link; Use remote gateways is set on the spoke link; a spoke with its own gateway cannot use remote gateways.

Try a question

A production web VM needs a public IP address that stays the same after the VM is stopped and deallocated and that survives the failure of one availability zone, in a region that has three availability zones. Which configuration meets the requirement?

  1. AA Basic SKU public IP with static allocation and a zone selected
  2. BA zone-redundant Standard SKU public IP with static allocation
  3. CA Standard SKU public IP pinned to availability zone 1 of the region
  4. DA Standard SKU public IP with dynamic allocation and zone-redundancy
Show the answer

B. Standard public IPs are static, and in regions with availability zones they are zone-redundant unless you pin them to a zone. A zonal address is tied to one zone's fate. Basic public IPs were retired on 30 September 2025.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Virtual networks, subnets, peering and public IP addresses teaches this objective (about 45 minutes), and 16 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 81 objectives · Next objective →