You must allow developers SSH to Linux VMs without public IPs or SSH keys.
BeginnerScenarioNetworking Design
Answer
Situation read → Bastion plus Entra login extension, RBAC-controlled.
What I'd do →
- Deploy Azure Bastion Standard in the hub (
AzureBastionSubnet, native client support enabled) - Install the extension:
az vm extension set --publisher Microsoft.Azure.ActiveDirectory --name AADSSHLoginForLinux -g rg --vm-name vm-app - Grant
Virtual Machine User Login(orAdministrator Login) to the dev group on the RG - Connect:
az network bastion ssh -n bas-hub -g rg-hub --target-resource-id <vmId> --auth-type AAD
Why → Access follows Entra groups and Conditional Access, nothing to rotate, nothing exposed.
Interview tip → Mention JIT VM access in Defender for Servers as the alternative when Bastion isn't available.
More on Networking Design
Design the network for a new three-tier app in Central India that must be private except for the web front end.IntermediateSpoke A can't talk to spoke B, both peered to the hub. What design change makes it work?BeginnerWorkloads must reach Azure SQL privately, including from on-prem over ExpressRoute. How do you set it up?AdvancedYou need all outbound traffic from AKS to go through Azure Firewall. How do you do it?AdvancedA partner needs to whitelist a single egress IP from your App Service and AKS workloads. How?IntermediateYou're asked to expose an internal API to a customer's Azure tenant without VNet peering. How?Advanced