Skip to content

AZ-305 · Compute and Networking

Exam domain: 25–30%

The exam loves “which compute service” and “how would you connect on-prem to cloud” questions. Have a picture in your head for both.

flowchart TD
  start([Workload?])
  start -->|Containerized microservices, need orchestration| aks[AKS]
  start -->|Simple web app / API, want managed platform| appservice[App Service]
  start -->|Serverless, event-driven| funcs[Functions / Container Apps]
  start -->|Legacy / lift-shift Windows or Linux| vmss[VM Scale Sets]
  start -->|Batch / HPC| batch[Azure Batch]
ServiceControl ↑Ops burden ↓Cold startSweet spot
VMSSFull OS controlHighN/ALegacy, custom kernels, VMs at scale
AKSK8s APIMediumPod startupMicroservices, portable workloads
Container AppsContainer + DaprLowCold start possibleServerless containers, events
App ServiceApp code + configLowWarm slotsWeb apps, APIs
FunctionsFunction codeLowestCold startEvent handlers, glue

Most AZ-305 network questions want a hub-spoke answer. Draw it before you read the options:

flowchart LR
  subgraph OnPrem[On-prem DC]
    er[ExpressRoute / S2S VPN]
  end
  subgraph HubVNet[Hub VNet]
    fw[Azure Firewall]
    bastion[Bastion]
    dns[Private DNS zones]
  end
  subgraph SpokeA[Spoke: Prod]
    aks2[AKS]
    sql1[SQL MI]
  end
  subgraph SpokeB[Spoke: Non-prod]
    aks3[AKS test]
    sql2[SQL DB]
  end
  er --> fw
  fw --> aks2
  fw --> aks3
  fw --> sql1
  fw --> sql2
  • Egress choke point — one Azure Firewall / NVA to audit and control outbound.
  • Shared services — DNS, Bastion, Log Analytics live in the hub, not each spoke.
  • Peering scales linearly — each spoke peers only to the hub, not to every other spoke.

Public endpoint vs Service endpoint vs Private endpoint

  • Public endpoint — PaaS service on the public internet with IP firewall rules. Not private.
  • Service endpoint — VNet subnet extended to the PaaS service over the Azure backbone. Still uses the service’s public FQDN. Simple, but not truly on-VNet.
  • Private endpoint — a NIC inside your VNet with a private IP for the PaaS service. DNS resolves the FQDN to that private IP. This is the answer 9/10 times on AZ-305.
  • IPsec/IKEv2 tunnel over the public internet.
  • Cheap. Slow-ish. High jitter.
  • Use for: small offices, non-critical hybrid.