AZ-900 ยท Compute and application hosting
Application hosting options
Choosing between Azure App Service web apps, containers and virtual machines to host an application, including what App Service manages for you.
Key points
- Hosting, most control to least effort: VMs (you configure everything, including the OS), containers (each part isolated), Azure App Service.
- App Service: HTTP-based PaaS for web apps, API apps, WebJobs (background tasks) and mobile back ends.
- Windows or Linux; .NET, Java, Node.js, PHP, Python and more.
- Handles scaling, built-in load balancing, high availability.
- Continuous deployment from GitHub, Azure DevOps or Git.
Practice questions
Which Azure service is an HTTP-based platform for hosting web apps, REST APIs and mobile back ends without managing the underlying servers?
- Azure Virtual Machines
- Azure Virtual Desktop
- Azure App Service
- Azure Kubernetes Service
Show answer
Answer: C. Azure App Service
Azure App Service is the PaaS hosting option for web-accessible apps; Azure keeps the environment running. Virtual machines leave the servers to you, Azure Virtual Desktop serves user desktops and Azure Kubernetes Service orchestrates containers.
Which tasks does Azure App Service take care of for you?
- Running and maintaining the hosting infrastructure
- Built-in load balancing for high availability
- Scaling the site to handle high traffic loads
- Writing and testing your application's code
- Letting you install custom drivers on the hosts
Show answer
Answer: A. Running and maintaining the hosting infrastructure, B. Built-in load balancing for high availability, C. Scaling the site to handle high traffic loads
App Service runs the hosting infrastructure, provides built-in load balancing for high availability and lets sites scale quickly under heavy traffic. Writing the application code stays with you, and you cannot sign in to the platform hosts to install your own drivers; that need points to a VM.
Azure App Service can host web apps only on Windows, so Linux-based apps need a virtual machine.
Show answer
Answer: False
False. App Service supports both Windows and Linux as the host operating system, so a Linux-based web app does not force you onto a VM.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
