Question

Difficulty: MediumConfigure Public and Private IP Addresses

You manage an Azure environment containing a virtual machine named VM-Prod1. The network interface of VM-Prod1 is currently a member of the backend pool of a Basic Load Balancer. You need to assign a new public IP address directly to the network interface of VM-Prod1. The public IP address must support zone redundancy. What should you do first?

  1. Remove VM-Prod1 from the backend pool of the Basic Load Balancer.Answer
  2. B
    Associate a Standard SKU public IP address with the network interface of VM-Prod1 while keeping it in the backend pool.
  3. C
    Assign a Basic SKU public IP address to VM-Prod1 and enable zone redundancy.
  4. D
    Configure a new Basic SKU public IP address with dynamic allocation.

Answer

Remove VM-Prod1 from the backend pool of the Basic Load Balancer.
To support zone redundancy, a Standard SKU public IP address is required. However, Azure restricts the mixing of Basic and Standard SKUs on resources associated with the same virtual machine. Because the virtual machine is currently in the backend pool of a Basic Load Balancer, a Standard SKU public IP cannot be assigned to it. Removing the virtual machine from the Basic Load Balancer's backend pool resolves the SKU conflict and allows the Standard SKU public IP to be successfully attached.

Step-by-Step Solution

1
Identify the SKU requirement for the new public IP address.
Since the public IP address must support zone redundancy, a Standard SKU public IP address must be used (Basic SKU public IPs do not support zone redundancy).
To ensure the configuration meets the technical requirements of the scenario.
2
Analyze SKU compatibility rules for virtual machine network interfaces.
Azure dictates that all public IP associations on a virtual machine (whether directly assigned to the NIC or via a load balancer) must use the same SKU.
To identify potential resource conflicts before applying configurations.
3
Resolve the SKU mismatch by removing the incompatible load balancer association.
Remove the virtual machine from the Basic Load Balancer's backend pool, allowing a Standard SKU public IP address to be associated with its network interface.
Because a VM associated with a Basic Load Balancer cannot accept a Standard SKU public IP.

Key Concept

Azure Public IP SKU compatibility and Load Balancer alignment
Rate this question