AZ-104 Implement and Manage Virtual Networking Practice Question
Exhibit
Topology: - Internet users sign in to the Azure portal - Management connection must be initiated from a browser - The target Windows VM has no public IP address - The security team does not allow a VPN client on administrator laptops - RDP must remain off the public Internet
Based on the exhibit, which Azure service should you deploy to provide browser-based administrative access to the VM without assigning it a public IP address?
⚠ Common exam trap
It's easy for candidates to confuse Azure Bastion with a VPN Gateway, thinking both provide secure remote access, but Bastion is specifically for browser-based administrative sessions without a public IP, while VPN Gateway extends the network for full client-to-site or site-to-site connectivity.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure Bastion
Azure Bastion provides secure, seamless RDP/SSH connectivity to virtual machines directly in the Azure portal over TLS, without requiring a public IP address on the VM. It uses a hardened bastion host in your virtual network that brokers the connection, eliminating exposure of the VM to the internet.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Azure Bastion
Why this is correct
Azure Bastion is a fully managed PaaS service deployed inside an Azure virtual network; it brokers RDP and SSH sessions from the Azure portal over TLS/443 to a VM using only its private IP address. Because the VM never receives a public IP and Bastion establishes the connection from its own subnet, the management ports stay hidden from the internet. It supports Microsoft Entra ID credential validation, clipboard file transfer, and can be secured with RBAC roles and NSGs on the Bastion subnet.
- ✗
Azure VPN Gateway
Why it's wrong here
An Azure VPN Gateway creates an encrypted IPsec tunnel between an on-premises site or remote user and the Azure VNet, but it still requires a gateway public IP and a compatible VPN client/device; it does not render the VM accessible in a browser. After the tunnel is established, you would still need an RDP/SSH client and a routable path to the VM's private IP, and the gateway itself remains a network-level endpoint rather than a session broker. The scenario asks for direct, browser-based VM administration without a public IP, which VPN Gateway cannot provide by itself.
When this WOULD be correct
A question requiring secure connectivity from an on-premises network to an Azure VNet, such as 'You need to connect your on-premises network to Azure VNet over the internet with encrypted traffic. Which service should you use?'
- ✗
Public IP address on the VM
Why it's wrong here
Assigning a public IP address to the VM's NIC makes the RDP or SSH port directly reachable from the internet unless an NSG explicitly blocks it, and the requirement specifically eliminates any public endpoint. Even with NSG source restrictions, the very existence of a routable public address contradicts the 'no public IP' constraint and exposes the host to port scanning and brute-force attempts. Azure Bastion is the answer only because it eliminates this surface by keeping the VM on a private IP.
When this WOULD be correct
A question that asks for the simplest way to enable direct RDP or SSH access from the internet to a VM, with no requirement to avoid public IPs or provide browser-based access. For example: 'Which resource must be associated with a VM to allow direct RDP connections from the internet?'
- ✗
Azure Load Balancer
Why it's wrong here
Azure Load Balancer is a layer-4 forwarding device that distributes inbound TCP/UDP flows across backend pool members based on rules and health probes; it cannot terminate, authenticate, or generate RDP/SSH console sessions. Adding it would still require the VM to expose its management port on a private or public listener, and the load balancer would merely pass the connection through to whichever VM the rule selects. Its purpose is scaling north-south traffic, not providing secure administrative access, so it does not replace the isolation that Bastion gives.
When this WOULD be correct
You need to distribute incoming web traffic across multiple VMs in a backend pool to ensure high availability and scalability for a web application. The VMs are in a virtual network, and you want to expose them via a single public endpoint.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.
✓Azure BastionCorrect answer▾
Why this is correct
Azure Bastion is a fully managed PaaS service deployed inside an Azure virtual network; it brokers RDP and SSH sessions from the Azure portal over TLS/443 to a VM using only its private IP address. Because the VM never receives a public IP and Bastion establishes the connection from its own subnet, the management ports stay hidden from the internet. It supports Microsoft Entra ID credential validation, clipboard file transfer, and can be secured with RBAC roles and NSGs on the Bastion subnet.
✗Azure VPN GatewayWrong answer — click to see why▾
Why this is wrong here
Azure VPN Gateway provides site-to-site or point-to-site VPN connectivity, not browser-based RDP/SSH access to a VM without a public IP. It requires a public IP on the gateway and does not offer a native browser-based administrative interface.
★ When this WOULD be the correct answer
A question requiring secure connectivity from an on-premises network to an Azure VNet, such as 'You need to connect your on-premises network to Azure VNet over the internet with encrypted traffic. Which service should you use?'
Why candidates choose this
Candidates may confuse VPN Gateway with Bastion because both provide secure remote access; they might think a VPN tunnel eliminates the need for a public IP on the VM, but VPN Gateway itself requires a public IP and does not provide browser-based access.
✗Public IP address on the VMWrong answer — click to see why▾
Why this is wrong here
Assigning a public IP address to the VM would expose it directly to the internet, which contradicts the requirement for browser-based administrative access without a public IP. Azure Bastion provides secure RDP/SSH access via the Azure portal without a public IP.
★ When this WOULD be the correct answer
A question that asks for the simplest way to enable direct RDP or SSH access from the internet to a VM, with no requirement to avoid public IPs or provide browser-based access. For example: 'Which resource must be associated with a VM to allow direct RDP connections from the internet?'
Why candidates choose this
Candidates may think a public IP is necessary for any remote access, overlooking Azure Bastion's ability to provide browser-based access without exposing the VM to the internet.
✗Azure Load BalancerWrong answer — click to see why▾
Why this is wrong here
Azure Load Balancer distributes incoming network traffic across multiple VMs, but it does not provide browser-based administrative access (RDP/SSH) to a VM without a public IP. It requires backend VMs to have routeable IPs or be reachable via other means.
★ When this WOULD be the correct answer
You need to distribute incoming web traffic across multiple VMs in a backend pool to ensure high availability and scalability for a web application. The VMs are in a virtual network, and you want to expose them via a single public endpoint.
Why candidates choose this
Candidates may think a load balancer can be used as a jump box or proxy for administrative access, confusing its traffic distribution role with a bastion host's secure access functionality.
Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
Learn chapter
Managed Identities for Azure Resources
Key term
Public IP address
A globally unique IP address assigned to a device that allows it to communicate directly over the internet.
Key term
Azure portal
The Azure portal is a web-based, unified console that lets you build, manage, and monitor everything from simple web apps to complex cloud deployments using a graphical user interface.
About these practice questions
This AZ-104 question is part of Courseiva's 1,049-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.