Question

Difficulty: MediumConfigure Azure Load Balancer

An administrator is configuring a public load balancer named `LB1` to distribute incoming Internet traffic to four virtual machines in a virtual network named `VNet1`.

The virtual machines are deployed as follows:
* `VM1` and `VM2` are in `AvailabilitySet1` and located in `Zone 1`.
* `VM3` and `VM4` are standalone virtual machines and located in `Zone 2`.

The administrator has already created a Standard SKU public IP address named `Pub-IP1` to be used by the load balancer.

You need to configure `LB1` to load balance traffic across all four virtual machines.

Which configuration should you use?

  1. Deploy a Standard SKU load balancer, associate `Pub-IP1` with the frontend IP configuration, and configure the backend pool using the IP address configuration type.Answer
  2. B
    Deploy a Basic SKU load balancer, associate `Pub-IP1` with the frontend IP configuration, and configure the backend pool using the Network interface configuration type.
  3. C
    Deploy a Standard SKU load balancer, associate a new Basic SKU public IP address with the frontend IP configuration, and configure the backend pool using the Network interface configuration type.
  4. D
    Deploy a Basic SKU load balancer, associate a new Basic SKU public IP address with the frontend IP configuration, and configure the backend pool using the IP address configuration type.

Answer

Deploy a Standard SKU load balancer, associate `Pub-IP1` with the frontend IP configuration, and configure the backend pool using the IP address configuration type.
Deploying a Standard SKU load balancer and associating it with the Standard SKU public IP address `Pub-IP1` satisfies the SKU compatibility requirement. Configuring the backend pool using the IP address configuration type allows the load balancer to target virtual machines across different deployment patterns (standalone and availability sets) within the same virtual network.

Step-by-Step Solution

1
Determine the required SKU for the load balancer based on the frontend IP address.
Since `Pub-IP1` is a Standard SKU public IP, the load balancer `LB1` must also be a Standard SKU load balancer.
Standard SKU frontend resources (such as public IPs) can only be associated with Standard SKU load balancers.
2
Analyze the backend pool requirements for mixing standalone virtual machines and virtual machines in an availability set.
The backend pool must contain `VM1` and `VM2` (in `AvailabilitySet1`) along with `VM3` and `VM4` (standalone). This requires the IP address configuration type.
The Network interface configuration type restricts backend pool membership to a single availability set, scale set, or standalone virtual machine. To mix these different resource configurations within the same backend pool, the IP address configuration type must be used, which is supported only on Standard SKU load balancers.

Key Concept

Azure Load Balancer SKU compatibility and backend pool configuration types
Estimated Time:1m 30s
Rate this question