Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company has an Azure virtual machine connected to your on-premises network via a site-to-site VPN. The virtual machine runs Windows Server, and you need to remotely manage it from your on-premises network. Currently, you cannot connect to the virtual machine. What should you configure to enable remote management from your on-premises network?
Open the necessary ports in the virtual machine's Windows Firewall.
Create a network security rule to allow inbound traffic from your on-premises network to the virtual machine.
Configure the virtual network's address space to match your on-premises network.
Assign a public IP address to the virtual machine and connect over the internet.
To enable remote management from your on-premises network, you need to create a security rule that allows inbound traffic from your on-premises network to the virtual machine. This is achieved by configuring a Network Security Group (NSG) to permit the necessary inbound traffic on the required ports (such as port 3389 for Remote Desktop Protocol (RDP)). While the virtual machine's Windows Firewall also needs to have the correct ports open, NSG rules are processed first and will block the traffic before it reaches the VM if not configured correctly. Configuring the virtual network's address space to match the on-premises network would cause IP address conflicts and is not a valid solution. Assigning a public IP address to connect over the internet is unnecessary and less secure, as a site-to-site VPN already provides a secure, private connection.
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 can't opening ports in the Windows Firewall alone enable remote access to the VM?
Open an interactive chat with Bash
How does Site-to-Site VPN work in Azure for connecting on-premises networks?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
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 .