AZ-900 Describe Azure architecture and services Practice Question
Which Azure service enables you to connect to an Azure virtual machine using a web browser without exposing RDP/SSH ports to the internet?
⚠ Common exam trap
Test-takers frequently confuse Azure Bastion with Just-In-Time (JIT) VM access or VPN solutions, mistakenly thinking any method that 'secures' RDP/SSH is equivalent, but only Bastion completely eliminates public port exposure and provides browser-based access.
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 is a fully managed PaaS service that provides secure and seamless RDP/SSH connectivity to Azure virtual machines directly from the Azure portal using a web browser. It eliminates the need for public IP addresses on VMs and does not expose RDP/SSH ports to the internet, as all traffic is tunneled through the Azure backbone network over TLS.
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 VPN Gateway Point-to-Site
Why it's wrong here
Azure VPN Gateway Point-to-Site is incorrect for this scenario because it requires each user to install and configure a VPN client on their device to establish an IPsec tunnel to the virtual network. Even with the tunnel in place, connecting to a VM's RDP or SSH service still requires reaching the VM's IP address, which typically means the VM must have a public IP or a route through a load balancer. This approach does not provide browser-based access to the VM console and leaves VM management ports exposed to the network if not further secured by NSGs. Azure Bastion, in contrast, is a fully managed PaaS service that gives users direct browser-based RDP/SSH sessions over SSL, with no VM public IP or client software required.
- ✓
Azure Bastion
Why this is correct
Azure Bastion is the correct choice because it provides secure, seamless browser-based RDP and SSH connectivity to Azure VMs directly from the Azure portal over TLS. It eliminates the need for VMs to have public IP addresses and removes the requirement to open inbound RDP or SSH ports on the VM's network security group, which significantly reduces the attack surface. Bastion integrates with Azure Active Directory and MFA, and it supports both Windows and Linux VMs, making it ideal for secure administrative access. It is a PaaS service that is deployed inside the virtual network, ensuring that all traffic stays within the Azure backbone.
- ✗
Azure AD Application Proxy
Why it's wrong here
Azure AD Application Proxy is wrong for this scenario because its purpose is to provide remote access to on-premises web applications through an outbound connector, not to give browser-based access to Azure VM desktops. It publishes HTTP and HTTPS endpoints for web apps and does not natively support RDP or SSH protocol forwarding to VMs. Application Proxy also requires the application to be registered in Azure AD and is designed for identity-aware access to line-of-business apps, not for managing virtual machine operating systems. Azure Bastion, by contrast, is the correct service for secure browser-based VM administration.
- ✗
Azure Firewall Just-In-Time access
Why it's wrong here
Azure Firewall Just-In-Time (JIT) access is not the right answer because JIT is actually a feature of Microsoft Defender for Cloud, not Azure Firewall, and it focuses on temporarily opening specific inbound ports (like RDP or SSH) to allow authorized users to connect. While it reduces exposure by limiting port open times, the user still needs an RDP or SSH client and a public IP on the VM to connect after the port is opened. JIT does not provide a browser-based console and does not eliminate the need for open ports entirely, unlike Azure Bastion which avoids any inbound management ports. Furthermore, JIT is a security control for reducing attack surface, not a connectivity service for seamless browser access.
Go deeper
Related to this question
Learn chapter
Azure Regions and Geographies
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.
Key term
Azure virtual machine
An Azure virtual machine is a software-based emulation of a physical computer that runs in Microsoft's cloud, allowing you to deploy and manage applications without owning the hardware.
About these practice questions
Courseiva writes every AZ-900 question from scratch — 981 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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-900 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-900 exam.