Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator for a company. There is a virtual machine named VM1 that hosts a web application that must be accessible from the internet over port 80. The company's security policy states that virtual machines should not be assigned public addresses directly. What should you implement to meet these requirements?
Set up an Azure Load Balancer to forward port 80 to VM1
Assign a public address to the virtual network subnet containing VM1
Enable Azure Traffic Manager to route traffic to VM1
To allow internet users to access VM1 over port 80 without assigning a public address directly to the VM, you should set up an Azure Load Balancer with a public frontend. The load balancer forwards incoming traffic on port 80 to VM1's private address, complying with the security policy. Assigning a public address to a subnet is not possible and does not enable inbound traffic to the VM. A NAT gateway provides outbound connectivity for VMs without public addresses but does not support inbound connections. Azure Traffic Manager is used for DNS-based traffic load balancing across multiple endpoints and does not facilitate direct inbound access to a single VM.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Azure Load Balancer and how does it work?
Open an interactive chat with Bash
What are the implications of not assigning public IP addresses to virtual machines?
Open an interactive chat with Bash
How does Azure Traffic Manager differ from Azure Load Balancer?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Configure and manage virtual networking
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access