Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure Administrator for a company. You have two virtual machines, VM1 and VM2, within the same virtual network but located in different subnets. VM1 cannot connect to VM2 over TCP port 80. You confirm that both VMs are operational and that there are no operating system firewalls blocking the port. What should you check to resolve the connectivity issue?
Check if the route table associated with Subnet1 is misconfigured
Check if the Network Security Group associated with VM1's network interface is blocking outbound traffic on port 80
Check if a Network Security Group associated with Subnet2 is blocking inbound traffic on port 80
Check if virtual network peering between the subnets is correctly configured
Network Security Groups (NSGs) in Azure control inbound and outbound traffic to resources. Since both VMs are in the same virtual network but different subnets, and there are no operating system firewalls blocking the port, it's important to examine the NSG associated with Subnet2 (where VM2 is located). An NSG attached to Subnet2 might have rules that block inbound traffic on TCP port 80, preventing VM1 from connecting to VM2. Checking and modifying the NSG rules to allow inbound traffic on port 80 would resolve the issue.
Verifying virtual network peering is unnecessary because the VMs are within the same virtual network.
Checking the NSG associated with VM1's network interface for outbound rules is less likely since default outbound traffic is usually allowed unless explicitly denied.
Investigating the route table is less relevant here unless custom routes have been configured that misdirect traffic.
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 are subnets in an Azure Virtual Network?
Open an interactive chat with Bash
How do you troubleshoot connectivity issues in Azure?
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