Question

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

A company needs to run a single, short-lived Docker container once a day to perform a data-cleansing task. The task takes approximately 10 minutes to run. The company wants to host the container without provisioning or managing virtual machines, and they do not require container orchestration features. Which Azure service should the company use?

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

Answer

Azure Container Instances
Azure Container Instances is the correct answer because it provides a serverless platform to run single, isolated containers in Azure without the need to provision or manage any virtual machines, and without the orchestration overhead of Kubernetes.

Step-by-Step Solution

1
Analyze the application requirements and container characteristics.
The application is a single, short-lived container that runs once a day for 10 minutes.
Understanding the container runtime pattern helps determine the appropriate level of hosting complexity.
2
Evaluate the management and infrastructure constraints.
The hosting environment must require no virtual machine management or complex container orchestration.
This rules out IaaS services like Azure Virtual Machines (which require VM maintenance) and container orchestrators like Azure Kubernetes Service (AKS) (which add orchestration complexity).
3
Match the requirements to the correct serverless container offering.
Azure Container Instances is selected as it runs isolated containers on-demand without VM management.
Azure Container Instances provides a serverless platform specifically designed to quickly run single, independent containers.

Key Concept

Distinguishing between Azure container compute options (Azure Container Instances vs. Azure Kubernetes Service) and general compute options (Azure Virtual Machines, Azure App Service) based on orchestration and VM management overhead.
Rate this question