Interview Prep/Azure/Networking Design

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 →

  1. Deploy Azure Bastion Standard in the hub (AzureBastionSubnet, native client support enabled)
  2. Install the extension: az vm extension set --publisher Microsoft.Azure.ActiveDirectory --name AADSSHLoginForLinux -g rg --vm-name vm-app
  3. Grant Virtual Machine User Login (or Administrator Login) to the dev group on the RG
  4. 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.

Azure All Azure questions Roadmap: Azure core services

More on Networking Design