Microsoft AZ-204: Azure Container Solutions — Study Guide

Part of the Microsoft Azure Developer Associate AZ-204 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

Azure provides a spectrum of container options that span single-container execution, orchestrated clusters, and a secure, enterprise-grade image supply chain. Azure Container Instances (ACI) is the fastest path to run Linux or Windows containers without managing servers. Azure Kubernetes Service (AKS) is a managed Kubernetes control plane that scales microservices with advanced scheduling, networking, security, and DevOps integrations. Azure Container Registry (ACR) is the private, geo-replicated registry that anchors your build, tag, push/pull, and Helm distribution flows. Mastering Docker image construction and lifecycle management is foundational to reliable deployments on any of these platforms. This section establishes a practical, developer-centric view of how the pieces fit together, including YAML-driven deployments, Helm packaging, service exposure, and identity/security patterns.

Docker and Azure Container Registry (ACR)

Reliable container delivery starts with sound Docker fundamentals. Each image is composed of layers formed by Dockerfile instructions; layer reuse and cache hits are critical to fast builds.

With ACR, store and distribute images and Helm charts privately:

Azure Container Instances (ACI)

ACI runs containers on-demand without cluster management. The primary unit is a container group, a co-scheduled set of containers sharing the same host OS kernel, lifecycle, IP, and volumes. Use container groups to implement the sidecar pattern (e.g., log shippers, proxies) or combine a main process with a helper.

Azure Kubernetes Service (AKS)

AKS provides a managed control plane with node pools, autoscaling, and deep networking/identity options.

Node pools structure capacity and workload placement. System node pools run core services; user node pools run application pods. Use multiple pools to segregate workloads by CPU/Memory/GPU needs, OS (Linux/Windows), VM size, and availability zone. Employ taints/tolerations to protect system pools, labels for selection, and cluster autoscaler to add/remove nodes based on pending pods. Consider maxPods per node and pod density when sizing.

Pod scheduling is driven by resource requests/limits, QoS classes (Guaranteed/Burstable/BestEffort), and constraints. Use nodeSelector/affinity and anti-affinity to push pods to appropriate pools and distribute replicas across zones and failure domains. Topology spread constraints improve even distribution. For critical services, define PodDisruptionBudgets and PriorityClasses to shape voluntary disruptions and preemption behavior. DaemonSets place per-node agents (logging, monitoring), and CronJobs schedule containers for periodic tasks.

Deployments in AKS are declarative. YAML manifests define apiVersion, kind, metadata, and spec for Deployments, StatefulSets, Jobs, Services, and Ingress. Keep manifests in source control, parameterize with Kustomize overlays for environment differences, and apply with kubectl apply -f. Server-side apply and proper labels/annotations help with ownership and drift detection. For packaging reusable apps, Helm 3 bundles templates and values. Host Helm charts as OCI artifacts in ACR and install with helm upgrade –install <release> oci://<acr>.azurecr.io/helm/<chart> -f values.yaml. Use values files per environment, track chart versions, and rollback with helm rollback for fast recovery.

kubectl commands you will use daily:

Networking in AKS exposes pods and services with clear responsibilities:

Identity and authorization integrate Azure AD without in-cluster secrets:

End-to-end image flow to AKS is straightforward and secure. Build multi-stage images, tag with immutable versions, push to ACR, and deploy to AKS with manifests or Helm. AKS pulls from ACR using the kubelet managed identity, and pods consume Azure resources via workload identity. Services are exposed via ClusterIP/LoadBalancer and refined with an ingress controller that centralizes TLS and routing.

Practical Problem Scenario

Adobe’s Creative Cloud team is decomposing a monolithic media processing service into microservices, targeting low-latency global delivery and a hardened supply chain.

  1. Build and store images using multi-stage Dockerfiles in CI
  1. Harden the registry and automate patching
  1. Stand up AKS with separated node pools and identity
  1. Define declarative deployments and packaging
  1. Expose services and enforce L7 security
  1. Implement secure workload access to Azure resources
  1. Operate batch overflow with ACI

Each choice directly supports Adobe’s goals: ACR Premium with geo-replication and private endpoints secures and accelerates image pulls; AKS with specialized node pools and workload identity enforces isolation and least-privilege access; Helm and declarative YAML standardize deployments and rollbacks; AGIC with WAF delivers resilient, secure L7 ingress; and ACI handles burst batch processing without persistent cluster cost.


Azure Cosmos DB · All domains · Azure Authentication

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product