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

  • AAzure Front Door global CDN and WAF edge proxy
  • BAzure NAT Gateway attached to AzureBastionSubnet
  • CAzure Bastion deployed in AzureBastionSubnet (/26)Correct answer
  • DAzure Traffic Manager priority routing profile

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.

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.