Topic 3 of 9
For the AZ-305 you don't need to operate Kubernetes — you need to design: when to use AKS versus something simpler, how the cluster scales and gets secured, and how ACR fits into the pipeline.
Contents
Microsoft manages
You manage
Node pool design
Scaling — 3 levels
AKS networking — what falls out
| Need | Solution |
|---|---|
| Authenticate users to the cluster | Entra ID integration + Kubernetes RBAC (or Azure RBAC for K8s) |
| Pods access Key Vault/Storage without secrets | Microsoft Entra Workload ID (OIDC federation with service accounts) |
| Key Vault secrets mounted into pods | Secrets Store CSI Driver |
| Enforce standards (no privileged containers, only approved registries) | Azure Policy for AKS (Gatekeeper/OPA) |
| Vulnerability scanning of images and runtime | Microsoft Defender for Containers |
| Encrypting cluster disks with CMK | Disk Encryption Set on the node pools |
Tiers and features
Exam signals
📦Árbol de decisión — Contenedores en Azure
AKS · Container Apps · ACI
Pregunta 1
¿Necesitas acceso completo a la API de Kubernetes (kubectl, operators, CRDs, control total del cluster)?
💡 AKS da Kubernetes real — todos los comandos kubectl, operators del ecosistema K8s, CRDs personalizados. Si solo necesitas ejecutar contenedores sin gestionar Kubernetes, hay opciones más simples.
| Criterion | AKS | Container Apps | ACI |
|---|---|---|---|
| Kubernetes API | Yes — full | No (K8s hidden) | No |
| Operations | You manage the cluster | Serverless | Serverless |
| Scale to zero | With manual KEDA | Native | N/A (per container) |
| Ideal case | Complex platforms, operators, multi-team, portability | Event-driven microservices and jobs | One-off containers, AKS burst |
| Requirement | Design |
|---|---|
| API server SLA + zonal resilience | AKS Standard tier + nodes across zones |
| kubectl only from the corporate network | Private cluster |
| Process a queue with pods scaling from zero | KEDA |
| Instant burst without waiting for new VMs | Virtual nodes (ACI) |
| Eviction-tolerant batch at the lowest cost | Spot VM node pool |
| Pods read Key Vault with no stored secrets | Workload Identity + Secrets Store CSI |
| Prohibit images from outside the corporate registry | Azure Policy for AKS |
| Fast pulls from clusters in 3 regions | Geo-replicated ACR Premium |
| Multi-region DR for AKS | One cluster per region + GitOps/IaC + geo-replicated ACR + Front Door |
Did you get this topic?
Test what you just learned
A platform runs on AKS in West Europe and will expand to East US and Southeast Asia. Requirements: all 3 clusters must pull images from a single logical registry with low local latency, and the registry must not be accessible from the internet. What do you design?
Original questions, each with a full explanation.
Start a mock examWant to practice?AZ-305 practice exam: how it works, outline and free demo
Sign in to save your progress.