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
Frontend public-IP resources have SKU and zonal compatibility requirements. The stated constraint is different: a public IP is a separate Azure resource that must be bound to an applicable endpoint.
A public IP can widen attack surface even when NSGs later restrict selected ports. The stated constraint is different: a public IP is a separate Azure resource that must be bound to an applicable endpoint.
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