Microsoft Azure Administrator Associate AZ-104 Practice Question
While troubleshooting, you discover that DNS queries succeed and the virtual machine can communicate with other VMs in the same virtual network, yet attempts to browse external websites fail. Which configuration issue is most likely responsible?
The virtual network does not have a gateway subnet configured.
Firewall settings within the virtual machine's operating system.
The virtual machine does not have a public IP address assigned.
An outbound rule in a network security group blocking internet traffic.
An outbound rule in a network security group (NSG) blocking internet traffic is the most likely cause. NSGs control outbound as well as inbound traffic for Azure resources. If a custom outbound deny rule with a higher priority overrides the default AllowInternetOutBound rule, the VM loses internet connectivity while retaining access to resources inside the virtual network. Host-level firewalls could block traffic but would generally affect both internal and external destinations unless specifically scoped. A public IP address is not required for outbound access because Azure provides default outbound connectivity through source NAT unless it has been disabled. A gateway subnet is only required for VPN gateways, not for ordinary internet egress.
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
Why doesn't a virtual machine require a public IP address for internet access in Azure?
Open an interactive chat with Bash
What is the purpose of a gateway subnet in an Azure virtual network?
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 .