Question

Difficulty: MediumConfigure Public and Private IP Addresses

A company hosts a web application on an Azure virtual machine named VM-AppServer1. The virtual machine has a single network interface named nic-app1 connected to a subnet named Subnet1. To host a second web service on VM-AppServer1 that requires its own public IP entry point, you plan to add a new IP configuration named ipconfig-tenant2 to nic-app1. Which of the following configuration actions are required to successfully add the new configuration and associate a Standard SKU public IP address? (Select TWO)

  1. Assign a private IP address to ipconfig-tenant2 within the address space of Subnet1.Answer
  2. Associate a Standard SKU public IP address that is configured with the Static allocation method.Answer
  3. C
    Associate a Standard SKU public IP address that is configured with the Dynamic allocation method.
  4. D
    Associate a Basic SKU public IP address to ipconfig-tenant2 while the primary IP configuration uses a Standard SKU public IP.

Answer

Assign a private IP address to the secondary IP configuration within the subnet range, and associate a Standard SKU public IP address configured with the Static allocation method.
To successfully add a secondary public IP configuration to a network interface, you must first assign a private IP address to the new IP configuration from the subnet's address range. Additionally, because the scenario requires a Standard SKU public IP, its allocation method must be set to Static, as Standard SKU public IPs do not support Dynamic allocation.

Step-by-Step Solution

1
Configure the secondary IP configuration on the network interface.
The secondary configuration ipconfig-tenant2 is created and assigned a private IP address from the subnet's address block.
Every IP configuration on an Azure network interface must have a private IP address. A public IP cannot exist on a configuration without a private IP.
2
Create and associate a Standard SKU public IP address.
A Standard SKU public IP is associated with ipconfig-tenant2 using Static allocation.
Standard SKU public IP addresses only support Static allocation, and all public IPs associated with a single network interface must share the same SKU.

Key Concept

Rules for configuring multiple IP configurations on a single network interface and Standard SKU public IP constraints.
Rate this question