Microsoft Azure Administrator (AZ-104) · Section 4 · 18% of the exam
Implement Azure Bastion
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Implement and manage virtual networking”. Here is what it covers, the points to remember and a question to try.
What it covers
Keep management ports and PaaS services off the public internet. This lesson covers Azure Bastion SKUs, subnet and public IP requirements and deployment, service endpoints with PaaS virtual network rules, private endpoints with Private Link and private DNS zones, and how to choose between service endpoints and private endpoints.
Points to remember
- Bastion gives browser or native-client RDP/SSH over TLS 443 to VMs that have no public IP; billing runs from deployment until deletion.
- Dedicated Bastion needs a subnet named AzureBastionSubnet (/26 or larger) and a Standard static public IP; Developer needs neither but connects to one VM at a time.
- Bastion SKUs upgrade in place only: Developer, Basic (2 instances), Standard (host scaling, native client, IP connect, shareable link), Premium (session recording, private-only).
- A service endpoint is enabled per subnet and covers the whole service; DNS still resolves to the public IP; it is free and not usable from on-premises.
- After enabling a service endpoint you must still add a virtual network rule on the PaaS firewall.
Try a question
A network engineer deploys a Standard SKU Azure Bastion host into an existing virtual network. What is the minimum size of the AzureBastionSubnet?
- A/29
- B/26
- C/27
- D/24
Show the answer
B. Azure Bastion with a dedicated host (Basic, Standard or Premium) requires a subnet named AzureBastionSubnet that is /26 or larger and contains no other resources. A larger subnet allows more scale units when you use host scaling.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Azure Bastion, service endpoints and private endpoints teaches this objective (about 50 minutes), and 15 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Create and configure virtual networks and subnets
- Create and configure virtual network peering
- Configure public IP addresses
- Configure user-defined network routes
- Troubleshoot network connectivity
- Create and configure network security groups (NSGs) and application security groups
- Evaluate effective security rules in NSGs
- Configure service endpoints for Azure platform as a service (PaaS)
- Configure private endpoints for Azure PaaS
- Configure Azure DNS
- Configure an internal or public load balancer
- Troubleshoot load balancing