Microsoft Azure Administrator (AZ-104) · Section 3 · 23% of the exam
Configure networking settings for an App Service
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
You are creating a web app in Azure App Service named contoso-orders. The creation fails with an error that the name is not available, although you have no such app. What is the cause?
- AApp names must be unique within the subscription only, and another user in your subscription created the name
- BThe plan has reached its limit of one app
- CWeb app names must be globally unique, because they form the default hostname under azurewebsites.net
- DHyphens are not allowed in web app names
Show the answer
C. The default hostname is <name>.azurewebsites.net and it is a public DNS name. Pick a unique name (for example with a random suffix), and add a custom domain later if you want your own name.
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