Azure Administrator AZ-104 · Deploy and Manage Azure Compute Resources · medium
A security policy prohibits assigning Public IP addresses to any Azure Virtual Machine and forbids opening inbound ports TCP 3389 (RDP) or TCP 22 (SSH) from the internet. Administrators still need browser-based RDP and SSH access to the private VMs directly from the Azure portal over TLS (port 443). Which managed PaaS service deployed into a dedicated /26 subnet named AzureBastionSubnet provides this?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: C. Azure Bastion deployed in AzureBastionSubnet (/26)
Azure Bastion is a fully managed PaaS service that you deploy into a dedicated subnet named AzureBastionSubnet, which must be /26 or larger. It lets administrators open RDP and SSH sessions to virtual machines straight from the Azure portal in an HTML5 browser session over TLS on port 443. The target VMs need no public IP address, and their network security groups do not need inbound 3389 or 22 open from the internet. Bastion reaches the VMs over their private IP addresses inside the virtual network, or across peered virtual networks when the SKU supports it. This matches every requirement in the policy. The most common trap is picking a service that sounds network-related, such as NAT Gateway, because the question mentions a subnet. Another trap is choosing a jump box VM with a public IP, which would violate the policy. Remember the exact subnet name and the /26 minimum size, since both are tested.
Why the other options are wrong
- A. Azure Front Door global CDN and WAF edge proxy — Azure Front Door is a global layer 7 entry point for HTTP and HTTPS web applications, offering acceleration, load balancing and WAF protection. It does not provide RDP or SSH administrative sessions to private virtual machines.
- B. Azure NAT Gateway attached to AzureBastionSubnet — Azure NAT Gateway provides outbound-only internet connectivity with managed SNAT for resources in a subnet. It does not accept inbound connections or deliver browser-based RDP and SSH, and it is not what runs in AzureBastionSubnet.
- D. Azure Traffic Manager priority routing profile — Azure Traffic Manager is a DNS-based traffic routing service that directs clients to endpoints using methods such as priority or performance. It does not proxy traffic, so it cannot broker RDP or SSH sessions into private virtual machines.
More Deploy and Manage Azure Compute Resources questions
- You deploy 12 identical Azure Virtual Machines into a single Availability Set configured with 3 Fault Domains (FDs)…
- A web team uses Azure App Service (Standard S1 plan) with a production slot and a staging deployment slot. The staging…
- A resource group named RG-App currently contains three resources: VM1, VNet1, and Storage1. An administrator runs az…
- A platform engineering team has perfected a golden ARM / Bicep template for deploying compliant virtual networks and…
- An administrator wants to deploy 4 Azure Storage accounts (stlogs0, stlogs1, stlogs2, stlogs3) across a resource group…
All Deploy and Manage Azure Compute Resources questions and the topic overview →
Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.