Question

Difficulty: MediumConfigure Public and Private IP Addresses

An administrator is configuring an Azure Virtual Machine named VM-App1. The virtual machine has a single network interface named nic-app1. The primary IP configuration (ipconfig1) of nic-app1 has a private IP address and is associated with a Standard SKU public IP address named PIP1. The administrator needs to add a secondary IP configuration (ipconfig2) to nic-app1. The secondary configuration requires its own public IP address named PIP2. Which configuration must be selected for PIP2?

  1. Standard SKU and Static allocationAnswer
  2. B
    Standard SKU and Dynamic allocation
  3. C
    Basic SKU and Static allocation
  4. D
    Basic SKU and Dynamic allocation

Answer

Standard SKU and Static allocation
The correct configuration is Standard SKU and Static allocation. Azure requires all public IP addresses associated with a single network interface to use the same SKU. Since the primary public IP address (PIP1) uses the Standard SKU, the secondary public IP address (PIP2) must also use the Standard SKU. Furthermore, Standard SKU public IP addresses only support Static allocation, whereas Basic SKU public IP addresses support both Static and Dynamic allocation.

Step-by-Step Solution

1
Analyze the SKU of the existing public IP address associated with the network interface.
The existing public IP address (PIP1) is a Standard SKU public IP.
Azure enforces SKU consistency on a single network interface, meaning all public IP configurations must use the same SKU.
2
Determine the required SKU for the new public IP address (PIP2).
PIP2 must be created with the Standard SKU.
Mixing Standard and Basic SKU public IPs on the same network interface is not supported.
3
Determine the supported allocation method for the Standard SKU public IP address.
The allocation method must be set to Static.
Standard SKU public IP addresses in Azure only support Static allocation and do not support Dynamic allocation.

Key Concept

SKU alignment and allocation rules for multiple Public IP addresses on a single network interface
Rate this question