Question

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

A research institute wants to host a web application that processes environmental data. The web application is written in Python, does not use containers, and needs to run in a managed environment where Microsoft automatically handles host OS-level security updates and patches.

Is the following statement true or false?

Azure Kubernetes Service (AKS) is the most suitable service for this scenario because it allows you to deploy raw Python application code directly while automatically managing OS-level patching for the cluster hosts.

Answer: Answer

Answer

The statement is false because Azure Kubernetes Service (AKS) requires applications to be containerized and does not support direct deployment of uncontainerized code. Additionally, AKS requires managing cluster nodes, whereas Azure App Service allows direct code deployment with fully managed host OS patching.
The statement is false because Azure Kubernetes Service (AKS) is specifically designed for containerized applications and cannot host raw, uncontainerized code directly. To deploy code directly without containerization while Microsoft handles OS patching, Azure App Service must be used.

Step-by-Step Solution

1
Analyze the hosting requirements of the scenario.
The application is written in Python, is not containerized, and requires a platform where Microsoft manages operating system-level patching.
Understanding these requirements helps narrow down which Azure compute service fits best.
2
Evaluate the capabilities of Azure Kubernetes Service (AKS) against these requirements.
AKS is a container orchestration service. It requires applications to be packaged as container images and does not support deploying raw Python code directly. While it manages Kubernetes control plane patching, the customer retains responsibility for upgrading cluster node operating systems.
This shows why the statement's claim that AKS is the most suitable service is incorrect.
3
Identify the correct Azure service for direct code deployment with fully managed OS patching.
Azure App Service is a Platform as a Service (PaaS) offering that allows developers to deploy raw code (including Python, PHP, and .NET) directly. It automatically handles the underlying OS-level security patching and maintenance.
This confirms that Azure App Service, not AKS, is the correct solution for this specific scenario.

Key Concept

Choosing the appropriate Azure compute service (Azure Container Instances, Azure Kubernetes Service, or Azure App Service) based on containerization requirements and management overhead.
Estimated Time:1m 30s
Rate this question