Question

Difficulty: MediumConfigure Public and Private IP Addresses

An organization deploys a virtual machine named Mgmt-VM1 in the North Europe region. The virtual machine has a single network interface (NIC). You need to configure the IP address settings for Mgmt-VM1 to meet the following requirements:

1. The private IP address assigned to the NIC must not change when Mgmt-VM1 is stopped (deallocated).
2. Mgmt-VM1 must be accessible from the internet using a Public IP address resource that is secure by default (closed to inbound traffic unless explicitly permitted).
3. The Public IP address must be deployed in the North Europe region.

Which configuration should you apply to the network interface and the Public IP address?

  1. Configure the private IP address allocation as Static. Associate a Standard SKU public IP address with the NIC, and configure the public IP address allocation as Static.Answer
  2. B
    Configure the private IP address allocation as Dynamic. Associate a Basic SKU public IP address with the NIC, and configure the public IP address allocation as Static.
  3. C
    Configure the private IP address allocation as Static. Associate a Standard SKU public IP address with the NIC, and configure the public IP address allocation as Dynamic.
  4. D
    Configure the private IP address allocation as Dynamic. Associate a Standard SKU public IP address with the NIC, and configure the public IP address allocation as Static.

Answer

Configure the private IP address allocation as Static. Associate a Standard SKU public IP address with the NIC, and configure the public IP address allocation as Static.
To ensure the private IP address does not change when the VM is stopped (deallocated), the private IP address allocation must be set to Static. To satisfy the secure-by-default requirement, a Standard SKU public IP address must be used, as it is closed by default to inbound traffic. Because Standard SKU public IP addresses only support Static allocation, the allocation method for the public IP address must also be set to Static.

Step-by-Step Solution

1
Evaluate private IP address requirements.
Determine that a Static private IP allocation must be used to ensure the address remains assigned to the NIC even when the virtual machine is stopped (deallocated).
Dynamic private IP addresses can be released and change when a virtual machine is stopped (deallocated) and restarted.
2
Evaluate public IP address security requirements.
Determine that a Standard SKU public IP address is required because it is secure by default (closed to inbound traffic unless explicitly allowed by a Network Security Group).
Basic SKU public IP addresses are open by default and do not offer secure-by-default behavior.
3
Determine the allocation method for the Standard SKU public IP address.
Configure the allocation method as Static.
Azure Standard SKU public IP addresses do not support Dynamic allocation; they only support Static allocation.

Key Concept

Azure Public and Private IP allocation methods and SKU characteristics
Estimated Time:1m 30s
Rate this question