Microsoft Azure Administrator Associate AZ-104 Practice Question
An Azure virtual machine cannot reach internet websites but can communicate with other virtual machines in the same virtual network. What is the most likely cause of this issue?
Firewall settings within the virtual machine's operating system.
The virtual machine does not have a public IP address assigned.
The virtual network does not have a gateway subnet configured.
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 inbound and outbound traffic to and from Azure resources. If an outbound security rule in the NSG denies internet traffic, the virtual machine will be unable to access external websites. Firewall settings within the virtual machine's operating system could also block traffic, but this would typically affect both internal and external connectivity. A public IP address is not required for outbound internet access because Azure provides default outbound access via source network address translation (SNAT). A gateway subnet is used for VPN connections and is not necessary for internet connectivity.
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 are Network Security Groups (NSGs) in Azure?
Open an interactive chat with Bash
How does an Azure VM access the internet without a public IP address?
Open an interactive chat with Bash
What is source network address translation (SNAT)?
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