Skip to Content

Microsoft AZ-104: What is the Maximum Number of VMs That Can Connect to Azure /25 Subnet?

Discover the maximum number of virtual machines that can connect to an Azure subnet with a /25 address range. Learn how to calculate Azure subnet capacity.

Table of Contents

Question

You have an Azure virtual network named VNet1 that contains the following settings:

  • IPv4 address space: 172.16.10.0/24
  • Subnet name: Subnet1
  • Subnet address range: 172.16.10.0/25

What is the maximum number of virtual machines that can connect to Subnet1?

A. 24
B. 25
C. 123
D. 128
E. 251

Answer

C. 123

Explanation

In an Azure virtual network, the maximum number of virtual machines that can connect to a subnet with an address range of /25 is 123.

To calculate the number of available IP addresses in a subnet, use the formula 2^(32-x)-5, where x is the subnet mask. In this case:
2^(32-25) – 5
= 2^7 – 5
= 128 – 5
= 123

The 5 addresses subtracted are reserved by Azure for the following:
– Network address (172.16.10.0)
– Default gateway
– Azure DNS
– Azure DHCP
– Broadcast address (172.16.10.127)

Therefore, with a /25 subnet mask, Subnet1 has 123 usable IP addresses, allowing a maximum of 123 virtual machines to connect to it. The correct answer is C.

Microsoft AZ-104 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-104 exam and earn Microsoft AZ-104 certification.