Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam
Provision an App Service plan
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Deploy and manage Azure compute resources”. Here is what it covers, the points to remember and a question to try.
What it covers
An App Service plan is the set of VMs that runs your web apps, and its tier decides which features you get. This lesson covers choosing and scaling a plan, creating a web app, and the inbound and outbound networking features that secure it.
Points to remember
- An App Service plan defines OS, region, instance count, VM size and tier; all apps and slots in it share its VMs and you pay for the plan.
- Free and Shared run on shared VMs; Basic allows up to 3 manual instances; Standard up to 10 with autoscale and 5 slots; Premium up to 30 and 20 slots; Isolated up to 100.
- Scale up changes tier or size; scale out changes instance count; both apply to every app in the plan.
- Autoscale (Standard and up) uses Azure Monitor rules and schedules; automatic scaling (Premium) is HTTP-based; use only one.
- Apps move between plans only inside the same resource group, region and OS combination; a plan's region and OS cannot change.
Try a question
A web app uses virtual network integration. The security team needs all outbound internet traffic from the app to pass through a firewall by a user-defined route on the integration subnet, but a test shows internet calls leaving directly. What should you do?
- AEnable outbound internet traffic routing (route all) on the integration
- BAdd an inbound NSG rule on the integration subnet that denies the internet
- CMove the app to the Free tier
- DCreate a private endpoint for the app
Show the answer
A. By default, only RFC 1918 traffic goes through the integration. Turn on outbound internet traffic (the site property vnetRouteAllEnabled, formerly the WEBSITE_VNET_ROUTE_ALL setting) so that NSGs, route tables and a NAT gateway apply to all outbound traffic from the app.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson App Service plans, scaling, creating apps and networking teaches this objective (about 55 minutes), and 15 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Interpret an Azure Resource Manager template or a Bicep file
- Modify an existing Azure Resource Manager template
- Modify an existing Bicep file
- Deploy resources by using an Azure Resource Manager template or a Bicep file
- Export a deployment as an Azure Resource Manager template or convert an Azure Resource Manager template to a Bicep file
- Create a virtual machine
- Configure Azure Disk Encryption
- Move a virtual machine to another resource group, subscription, or region
- Manage virtual machine sizes
- Manage virtual machine disks
- Deploy virtual machines to availability zones and availability sets
- Deploy and configure an Azure Virtual Machine Scale Sets