Question

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

A company is planning to deploy two different containerized workloads to Azure:

* Workload 1: A simple batch processing task packaged as a single container that runs once daily for 15 minutes.
* Workload 2: A complex application composed of 25 interconnected containerized microservices that require service discovery, horizontal autoscaling, and coordinated rolling updates.

The company wants to minimize both administrative effort and operational costs.

Which two Azure services should the company select to host these workloads?

  1. Azure Container InstancesAnswer
  2. Azure Kubernetes ServiceAnswer
  3. C
    Azure App Service
  4. D
    Azure Virtual Machines

Answer

Azure Container Instances and Azure Kubernetes Service
Azure Container Instances is the ideal choice for running a single container for a brief period on demand, as it provides a serverless platform with no virtual machine management overhead and charges only for the execution duration. Azure Kubernetes Service is the correct choice for hosting a large, multi-container microservices application because it provides the required orchestration features, such as automated service discovery, rolling updates, and scale management, while still being a managed service that minimizes infrastructure administration compared to self-managed Kubernetes.

Step-by-Step Solution

1
Analyze the requirements for Workload 1.
Workload 1 is a single container running for only 15 minutes daily. This is a short-lived, task-based workload that does not require container orchestration. Azure Container Instances is the most cost-effective and low-overhead service for this case.
It runs containers on-demand with per-second billing and zero infrastructure management.
2
Analyze the requirements for Workload 2.
Workload 2 consists of 25 interconnected microservices requiring container orchestration capabilities such as service discovery, load balancing, autoscaling, and coordinated rollouts. Azure Kubernetes Service is the native managed orchestrator in Azure.
It provides full Kubernetes orchestration while reducing management overhead compared to self-managed Kubernetes deployments.
3
Evaluate the distractors against the goal to minimize management effort and operational costs.
Azure Virtual Machines increase administrative effort due to OS patching, and Azure App Service does not natively support complex multi-container orchestration with service discovery for 25 microservices.
This rules out the incorrect options.

Key Concept

Azure container hosting services comparison
Estimated Time:1m 30s
Rate this question