Bitzu

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.

Source: https://learn.microsoft.com/en-us/training/modules/describe-azure-compute-networking-services/7-describe-application-hosting-options

Practice questions

Single choice

Which Azure service is an HTTP-based platform for hosting web apps, REST APIs and mobile back ends without managing the underlying servers?

  1. Azure Virtual Machines
  2. Azure Virtual Desktop
  3. Azure App Service
  4. 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.

Select all that apply

Which tasks does Azure App Service take care of for you?

  1. Running and maintaining the hosting infrastructure
  2. Built-in load balancing for high availability
  3. Scaling the site to handle high traffic loads
  4. Writing and testing your application's code
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More AZ-900 topics in this module