Courseiva
Deploy and Manage Azure ComputemediumMultiple ChoiceObjective-mapped

AZ-104 Deploy and Manage Azure Compute Practice Question

Administrators need to manage Linux virtual machines that do not have public IP addresses. They want to connect from a browser without installing a VPN client. Which Azure service should they use?

⚠ Common exam trap

Candidates often confuse Azure Bastion with VPN Gateway, assuming a VPN is required for private VM access, but Bastion eliminates the need for a VPN client by providing browser-based connectivity directly through the Azure portal.

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 from the Azure portal over TLS, without requiring public IP addresses or a VPN client. It uses a browser-based HTML5 client, making it ideal for administrators who need to manage Linux VMs without exposing them to the internet or installing additional software.

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 that provides secure, seamless RDP and SSH access to virtual machines directly through the Azure portal over TLS. Because it connects to the VM's private IP address, no public IP address or inbound internet-facing rule is required on the VM's NSG, eliminating the need for a VPN client or a jump box. It also supports session monitoring, multi-factor authentication (via Azure AD integration), and is deployed in a dedicated AzureBastionSubnet, making it the correct service for interactive browser-based administrative access.

  • VPN Gateway

    Why it's wrong here

    VPN Gateway establishes encrypted IPsec/IKE tunnels between on-premises networks and your Azure VNet (site-to-site) or individual devices (point-to-site), thereby extending the VNet's network boundaries. Although it can be a prerequisite for certain remote-access scenarios, it still requires the user to install and configure a VPN client and then use a separate RDP/SSH client to reach the VM's private IP. It is not a browser-based management service and does not natively provide the interactive console-like session or authentication layer needed for VM administration.

    When this WOULD be correct

    A question requiring site-to-site or point-to-site encrypted connectivity from on-premises networks to Azure VNets, where the client installs a VPN client (not browser-based) and VMs may have private IPs.

  • Load Balancer

    Why it's wrong here

    Azure Load Balancer operates at Layer 4 of the OSI model and forwards TCP/UDP traffic to backend pool instances based on load-balancing rules and health probes. It is designed to distribute workloads across multiple VMs or instances, not to provide administrative connectivity into an individual VM's operating system. Moreover, it requires target VMs to have healthy endpoints and does not offer any authentication, session establishment, or browser-based RDP/SSH gateway functionality, so it cannot be used to manage Linux VMs interactively.

    When this WOULD be correct

    A question asking for distributing inbound traffic across multiple virtual machines for high availability or scaling, without requiring direct VM management from a browser.

  • Private endpoint

    Why it's wrong here

    A private endpoint is a network interface with a private IP address from an Azure VNet that is used to connect securely to Azure Platform-as-a-Service resources (such as Storage, SQL Database, or Cosmos DB) or to your own service via Azure Private Link. It effectively brings the service into the VNet, but it is a connectivity mechanism for the service's data plane, not a desktop or SSH management tool. Since a private endpoint does not expose any RDP/SSH protocol, provide authentication, or render a browser-based session, it cannot be used to manage virtual machines interactively.

    When this WOULD be correct

    A question asks: 'You need to securely connect to an Azure Storage account from a virtual network without using a public endpoint. Which Azure service should you use?' In that context, Private endpoint would be correct.

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 that provides secure, seamless RDP and SSH access to virtual machines directly through the Azure portal over TLS. Because it connects to the VM's private IP address, no public IP address or inbound internet-facing rule is required on the VM's NSG, eliminating the need for a VPN client or a jump box. It also supports session monitoring, multi-factor authentication (via Azure AD integration), and is deployed in a dedicated AzureBastionSubnet, making it the correct service for interactive browser-based administrative access.

VPN GatewayWrong answer — click to see why

Why this is wrong here

VPN Gateway requires a VPN client on the browser machine and typically assigns public IPs to the gateway, not directly connecting to VMs without public IPs. It also does not provide browser-based connectivity.

★ When this WOULD be the correct answer

A question requiring site-to-site or point-to-site encrypted connectivity from on-premises networks to Azure VNets, where the client installs a VPN client (not browser-based) and VMs may have private IPs.

Why candidates choose this

Candidates may confuse VPN Gateway's ability to connect to private VMs with the browser-based, clientless connectivity that Bastion offers, especially since both involve private network access.

Load BalancerWrong answer — click to see why

Why this is wrong here

Azure Load Balancer distributes network traffic across multiple VMs but does not provide browser-based RDP/SSH connectivity without a public IP or VPN client.

★ When this WOULD be the correct answer

A question asking for distributing inbound traffic across multiple virtual machines for high availability or scaling, without requiring direct VM management from a browser.

Why candidates choose this

Candidates may confuse load balancing with providing access, thinking it can route connections to VMs without public IPs, but it lacks the secure tunnel and browser-based access capabilities of Azure Bastion.

Private endpointWrong answer — click to see why

Why this is wrong here

Private endpoint provides secure connectivity to Azure services over a private IP address, but it does not enable browser-based RDP/SSH connectivity without a VPN client. The question requires a service that allows browser access to VMs without public IPs, which Azure Bastion provides.

★ When this WOULD be the correct answer

A question asks: 'You need to securely connect to an Azure Storage account from a virtual network without using a public endpoint. Which Azure service should you use?' In that context, Private endpoint would be correct.

Why candidates choose this

Candidates may confuse private endpoint with Bastion because both involve private connectivity. They might think private endpoint provides remote access to VMs, but it only enables private IP-based access to Azure PaaS services, not VM management.

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?”

About these practice questions

One of 1,049 original AZ-104 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.