Question

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

A retail company wants to deploy a new public-facing web API. The development team wants to deploy the application code directly using a fully managed platform where Microsoft automatically handles operating system patching, load balancing, and scaling, without the team needing to package the application into containers or manage container orchestration. Which Azure compute service should the company select?

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

Answer

Azure App Service
Azure App Service is a HTTP-based service for hosting web applications, REST APIs, and mobile backends. It is a Platform as a Service (PaaS) offering where Microsoft manages the underlying infrastructure, operating system patching, and scaling. It allows developers to deploy code directly (e.g., .NET, Java, Node.js, Python) without needing to containerize the application first.

Step-by-Step Solution

1
Evaluate the hosting constraints, which state that the application code must be deployed directly without containerization.
This rules out Azure Container Instances and Azure Kubernetes Service, as both are dedicated container hosting platforms that require container images.
Container instances and Kubernetes cannot host uncontainerized raw application code directly.
2
Evaluate the patching constraints, which specify that Microsoft must automatically handle operating system patching.
This rules out Azure Virtual Machines.
Under the shared responsibility model for Infrastructure as a Service (IaaS), guest operating system patching is the customer's responsibility.
3
Identify the service that matches both direct code deployment and fully managed operating system maintenance.
Azure App Service is a Platform as a Service (PaaS) that meets all of these criteria.
PaaS offloads OS patching and infrastructure maintenance to Microsoft while supporting code-first deployments.

Key Concept

Azure App Service as a Platform as a Service (PaaS) compute offering for direct code deployment.
Estimated Time:1m 0s
Rate this question