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?
- 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
- BConfigure 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.
- CConfigure 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.
- DConfigure 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
Key Concept
Azure Public and Private IP allocation methods and SKU characteristics
Estimated Time:1m 30s