Microsoft Azure Administrator Associate AZ-104 Practice Question
An Azure virtual machine cannot access the internet. You verify that the virtual machine is running and the network interface is attached to a subnet that has a system route (0.0.0.0/0 → Internet) or another valid outbound path. What should you check next to troubleshoot the issue?
Ensure the virtual machine is in an availability set
Restart the virtual machine
Assign a public IP address to the network interface
Verify that the Network Security Group allows outbound internet traffic
If outbound traffic is being routed correctly but the virtual machine still cannot reach the internet, a likely cause is that a Network Security Group (NSG) associated with the NIC or subnet is blocking egress traffic. Examine the effective NSG rules and make sure no higher-priority deny rule is overriding the default AllowInternetOutbound (or other required) rule. Being in an availability set has no impact on network connectivity. Assigning a public IP address or restarting the VM will not resolve connectivity that is explicitly blocked by NSG rules (although a public IP or NAT Gateway is required for outbound access on VMs created after 30 September 2025 if no other explicit method exists).
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 a Network Security Group (NSG) in Azure?
Open an interactive chat with Bash
What is Azure's default outbound access and how does it work?
Open an interactive chat with Bash
Why is assigning a public IP address not required for outbound internet connectivity?
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 .