AZ-305 ยท Compute solution design
Designing App Service hosting
App Service plans and tiers, scale up vs scale out, deployment slots, App Service Environment for isolation, VNet integration and private endpoints.
Key points
- App Service plan: OS, region, instance count and size, tier; apps in a plan share its instances.
- Free, Shared: shared VMs, no scale out; Basic, Standard, Premium v2-v4: dedicated; IsolatedV2: App Service Environment.
- Scale up: bigger tier or size; scale out: more instances.
- Deployment slots: Standard and above (Standard 5); warm-up swap, rollback by swapping again.
- VNet integration: outbound; private endpoints: private inbound.
Source: https://learn.microsoft.com/en-us/azure/app-service/overview-hosting-plans
Practice questions
What is the lowest App Service plan tier that supports deployment slots?
- Free
- Shared
- Basic
- Standard
Show answer
Answer: D. Standard
Deployment slots require the Standard, Premium or Isolated tier. Free, Shared and Basic plans do not offer them, so a Basic plan has to be scaled up first.
Which settings stay with their slot instead of moving with the content during a slot swap?
- Custom domain names
- Scale settings
- Language framework version
- WebJobs content
- Virtual network integration
Show answer
Answer: A. Custom domain names, B. Scale settings, E. Virtual network integration
Custom domain names, scale settings and virtual network integration are slot specific and are not swapped. Language framework versions and WebJobs content follow the app content across the swap.
When you scale out an App Service plan that hosts several apps, only the busiest app gets the new instances.
Show answer
Answer: False
False. By default every app in the plan runs on all of the plan's instances, so scaling the plan affects all apps. Per-app scaling can limit an app to a subset of instances, but it is opt-in and billing stays at the plan level.
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.
