Microsoft Azure Architect Design (AZ-301) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Azure Architect Design (AZ-301) Exam with interactive quizzes featuring flashcards and multiple-choice questions, each packed with hints and explanations to ace your certification test!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


How many public IP addresses are required when setting up load balancing for two Azure virtual machines?

  1. 0 for both VMs, 1 for load balancer

  2. 1 for both VMs, 2 for load balancer

  3. 1 for load balancer, 1 for each VM

  4. 2 for load balancer, 1 for each VM

The correct answer is: 0 for both VMs, 1 for load balancer

When setting up load balancing for two Azure virtual machines, the architecture allows for effective resource utilization while maintaining high availability. The correct approach would involve utilizing a single public IP address for the load balancer that manages the distribution of incoming traffic to the two virtual machines. In this setup, the virtual machines themselves can each have a private IP address, which is sufficient for internal communication within the Azure network. The load balancer receives public traffic at its single public IP address and then directs that traffic to either of the virtual machines based on the defined load balancing rules. This configuration minimizes the number of public IP addresses required while still ensuring that users can access the service effectively. Therefore, only one public IP address is necessary to facilitate the load-balancing function, while both virtual machines can operate with their private IP addresses without needing individual public IPs. This arrangement is efficient and aligns with best practices in Azure for managing load balancing while caring for resource allocation.