AZ-104 Deploy and Manage Azure Compute Practice Question
You are designing a containerized application deployment in Azure. Which three options must you consider when choosing between Azure Container Instances (ACI) and Azure Kubernetes Service (AKS)? (Choose three.)
⚠ Common exam trap
Many exam-takers confuse ACI's lack of orchestration with automatic orchestration, or assume AKS requires full VM management, when in fact AKS abstracts node management through managed node pools.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ACI is ideal for simple, short-lived tasks or burst workloads that do not require orchestration.
ACI is correct because it is designed for simple, short-lived tasks or burst workloads that do not require orchestration, making it ideal for scenarios like batch processing or event-driven applications. AKS is correct because it provides built-in auto-scaling, service discovery, and rolling update capabilities, which are essential for managing complex microservices architectures. ACI is correct because it supports mounting an Azure Files share as a persistent volume, enabling stateful workloads to share data across container instances.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
ACI is ideal for simple, short-lived tasks or burst workloads that do not require orchestration.
Why this is correct
ACI is correct for simple, short-lived tasks or burst workloads because it is a serverless container offering with per-second billing and no underlying cluster to provision. It starts containers quickly and is designed for discrete executions such as batch jobs or event-driven processing, but it does not manage the full orchestration lifecycle, so workloads needing inter-container service discovery, rolling updates, or cluster-scale coordination are better served by AKS.
- ✓
AKS provides built-in auto-scaling, service discovery, and rolling update capabilities.
Why this is correct
AKS provides built-in orchestration features because it is a managed Kubernetes service, which natively includes the horizontal pod autoscaler for replica scaling and the cluster autoscaler for node scaling. It also leverages Kubernetes DNS for service discovery and supports ReplicaSet/Deployment controllers that enable rolling updates and rollback capabilities without manual VM-level intervention. These capabilities are core to Kubernetes rather than add-ons, making AKS appropriate for complex microservice architectures.
- ✓
ACI supports mounting an Azure Files share as a persistent volume.
Why this is correct
ACI supports mounting an Azure Files share as a persistent volume by using the azureFile volume plugin, allowing container instances to read and write files stored in a managed SMB share. This is essential for stateful containers that need to share data across restarts or multiple container groups, and it integrates directly with Azure Storage accounts. Note that ACI does not natively support Azure Disk persistent volumes, so Azure Files is the primary persistent storage option for container groups.
- ✗
AKS supports only Linux-based container images and cannot run Windows containers.
Why it's wrong here
This statement is wrong because AKS does support Windows containers, although Linux is the default node pool operating system. You can explicitly add a Windows Server node pool (for example, using Windows Server 2019 or 2022) to an AKS cluster and schedule Windows Server containers on it. While Linux containers enjoy first-class support in most Kubernetes features, Windows containers are fully supported on AKS with proper tolerations and nodeSelectors.
- ✗
ACI automatically manages container orchestration, including load balancing and scaling across nodes.
Why it's wrong here
This statement is wrong because ACI does not include an orchestration control plane; it is designed for managing a single container or a container group but does not automatically handle cross-node load balancing or scaling. Scaling in ACI is manual or based on external triggers (e.g., Azure Functions, Logic Apps) since there are no built-in replicas or autoscaler. For automatic load balancing and scaling across multiple nodes, you need an orchestrator like AKS or connect ACI to another load-balancing service.
- ✗
AKS requires you to manage the underlying virtual machine infrastructure, including patching the OS.
Why it's wrong here
This statement is wrong because AKS is a managed Kubernetes service where Azure manages the control plane and, for system node pools, patching and updates of the underlying virtual machine infrastructure are largely automated. While user node pools run on worker VMs that you can configure, Azure handles node image updates and OS security patching as part of the managed service, subject to your maintenance windows. You do not have to manually RDP into nodes or patch the OS yourself, which is a major benefit of AKS over self-managed Kubernetes.
Go deeper
Related to this question
Learn chapter
Managed Identities for Azure Resources
Key term
Azure Kubernetes Service
Azure Kubernetes Service is a managed container orchestration service that simplifies deploying, managing, and scaling containerized applications using Kubernetes on Microsoft Azure.
Key term
Azure Container Instances
Azure Container Instances (ACI) is a PaaS service that lets you run a container directly in Azure without managing any underlying servers or orchestration.
About these practice questions
Courseiva writes every AZ-104 question from scratch — 1,049 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.