Question

Difficulty: HardAzure Container Instances, Azure Kubernetes Service, and Azure App Service

An organization is designing a deployment strategy for a containerized application. The application requires two containers to run: a primary web application container and a helper logging container. These containers must share a local network interface and a temporary storage volume, and they must be deployed and scaled together as a single unit. The organization wants to deploy this application with the minimum possible administrative overhead, specifically avoiding the need to provision virtual machines or manage a container orchestration cluster.

Which Azure service should the organization use to meet these requirements?

  1. Azure Container InstancesAnswer
  2. B
    Azure Kubernetes Service (AKS)
  3. C
    Azure App Service
  4. D
    Azure Virtual Machines

Answer

Azure Container Instances
Azure Container Instances is the correct choice because it supports container groups, which are collections of containers scheduled on the same host machine. They share a lifecycle, local network interface, and storage volumes. This satisfies the requirement for a primary container and helper container to run together without the overhead of managing a container orchestration cluster like Kubernetes.

Step-by-Step Solution

1
Analyze the container orchestration and management requirements.
The application requires co-located containers (primary + helper) sharing local storage and network, but the team explicitly wants to avoid managing a container orchestration cluster (like Kubernetes) or provisioning VMs.
This rules out Azure Kubernetes Service (AKS) due to orchestration overhead and Azure Virtual Machines due to VM management overhead.
2
Evaluate the remaining container hosting services in Azure (ACI and App Service) against the multi-container sidecar pattern.
Azure Container Instances supports container groups, which allow scheduling multiple containers on the same host sharing network and storage resources. Azure App Service is a web-focused PaaS and does not support this generic sidecar hosting model with shared local storage as natively as ACI.
Choosing Azure Container Instances satisfies the sidecar container group requirement with zero VM or cluster management overhead.

Key Concept

Distinguishing between Azure Container Instances (ACI) and Azure Kubernetes Service (AKS) for multi-container deployments.
Estimated Time:2m 0s
Rate this question