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?
Assign a public address to the virtual network subnet containing VM1
Configure an Azure Virtual Network NAT gateway
Set up an Azure Load Balancer to forward port 80 to 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
Why would assigning a public IP to the virtual network subnet not work?
Open an interactive chat with Bash
What is the difference between a NAT gateway and an 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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .