Question 350
A VM must accept authorized inbound traffic directly on its own network interface, without a load balancer. An engineer creates an unattached Azure Public IP resource and assumes the VM is now publicly reachable. What additional association is necessary?
Explanation
Correct Answer
For direct access to an Azure VM, an Azure public IP address is attached to an IP configuration on a network interface associated with that VM. Merely creating the Public IP resource does not perform this binding, and no load balancer is requested or present in the described path. Once the association exists, the effective network security group rules and operating-system service listener must also permit the intended inbound traffic. Confirm the correct NIC/IP configuration, region/SKU compatibility and actual client connection after the change, rather than inferring connectivity from the Public IP resource's existence.
Incorrect Answers
'Use compatible public IP SKU, region and zone settings with the load balancer' applies to a different feature boundary because frontend public-IP resources have SKU and zonal compatibility requirements. In the stated scenario where an engineer assumes creating a public IP automatically exposes a VM with no NIC association, 'Use compatible public IP SKU, region and zone settings with the load balancer' does not satisfy the mechanism that a public IP is a separate Azure resource that must be bound to an applicable endpoint. The necessary action is 'Associate the public IP with an IP configuration on the VM network interface and permit the approved inbound flow with effective NSG rules', which should be checked against this Azure resource's actual permissions and state.
The nearby action 'Remove direct public management exposure and use Bastion or controlled private access' is associated with this separate need: a server VM gets a direct public IP to simplify administration, despite a policy against internet-exposed management ports. That is because a public IP can widen attack surface even when NSGs later restrict selected ports. Here an engineer assumes creating a public IP automatically exposes a VM with no NIC association, so 'Remove direct public management exposure and use Bastion or controlled private access' misses the fact that a public IP is a separate Azure resource that must be bound to an applicable endpoint. 'Associate the public IP with an IP configuration on the VM network interface and permit the approved inbound flow with effective NSG rules' is the more defensible action; confirm its behavior in the target service before calling the task complete.
A public load balancer may legitimately expose back-end VMs when it is configured with a frontend address, matching load-balancing rules, and a backend pool containing those VMs. The proposed option does none of that: it attaches the IP to an unrelated frontend with no rule or target backend. It also conflicts with the explicit requirement for direct access through this VM's own network interface. A Public IP allocated independently of a reachable endpoint cannot make this particular VM addressable by itself.






Microsoft Azure Administrator (AZ-104) Practice Tests