Question

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

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

1. A custom web application that requires automatic scaling, custom domains, and SSL/TLS certificates, but does not require container orchestration.
2. A short-running background job that runs on a schedule, processes data, and terminates immediately, without needing persistent container orchestration.

Which two Azure services should the company choose to meet these requirements? (Select two.)

  1. Azure App Service to host the web applicationAnswer
  2. Azure Container Instances (ACI) to host the short-running background jobAnswer
  3. C
    Azure Kubernetes Service (AKS) to host the short-running background job
  4. D
    Azure Virtual Machines to host the web application, so that Microsoft automatically manages all operating system patching

Answer

Azure App Service to host the web application, and Azure Container Instances (ACI) to host the short-running background job
The correct selections are Azure App Service for hosting the web application, and Azure Container Instances (ACI) for running the scheduled background job. Azure App Service is a fully managed Platform as a Service (PaaS) offering that automatically handles OS updates, scaling, and custom domains for web apps. Azure Container Instances (ACI) is a fast, serverless container hosting option that is ideal for running simple, isolated, and short-running containerized tasks without the complexity of managing a container orchestrator.

Step-by-Step Solution

1
Analyze the requirements for the first workload (the web application).
The web application requires automatic scaling, custom domains, and SSL certificates, but does not need container orchestration.
Azure App Service provides a fully managed platform (PaaS) that handles scaling, custom domains, and certificates with minimal administrative effort.
2
Analyze the requirements for the second workload (the background job).
The background job runs on a schedule, processes data, terminates immediately, and does not require complex container orchestration.
Azure Container Instances (ACI) provides a serverless container platform that allows running isolated containers on demand and billing by the second, without orchestrator overhead.
3
Evaluate and eliminate incorrect compute options.
Azure Kubernetes Service (AKS) and Azure Virtual Machines are eliminated due to excessive complexity and shared responsibility boundaries.
AKS is meant for complex multi-container orchestration. Azure Virtual Machines (IaaS) leaves the responsibility of OS patching and configuration to the customer, violating the requirement for automatic platform-managed patching.

Key Concept

Distinguishing compute hosting options in Azure based on management overhead, orchestration needs, and workload duration.
Estimated Time:1m 30s
Rate this question