AZ-104 - Deploy and Manage Azure Compute Resources - Section 3.4

Create and configure Azure App Service for hosting web applications.

Configure App Service plans to control the compute tier and understand how multiple apps sharing a plan share the same underlying resources. Use deployment slots to stage and validate releases before swapping to production, bind custom domains with TLS/SSL certificates, and configure autoscaling rules to respond to traffic changes.

App Service plansdeployment slotscustom domainsTLS/SSL bindingsautoscaling

Practice question for this objective

Free sampleDeploy and Manage Azure Compute Resourcesmedium

Two web apps run in the same Standard App Service plan. One app starts consuming heavy CPU and the other app slows down. You need each app to have its own compute. What should you do?

  • AAdd a deployment slot to each app within the existing plan.
  • BEnable autoscale rules on the existing shared plan.
  • CDisable diagnostic logging on the heavier app.
  • DMove one app into a separate App Service plan. Correct
Compute is dedicated at the plan level, so isolate an app by giving it its own App Service plan. Apps in the same plan share the same VM instances, so to give an app its own compute resources you isolate it by moving it to a separate App Service plan.

Why A is wrong: Deployment slots run on the same VM instances as the app, so they share the same compute and would not isolate the apps.

Why B is wrong: Autoscale changes the instance count for the whole plan, and both apps still share those instances rather than getting dedicated compute.

Why C is wrong: Logging uses some resources but turning it off does not give each app its own dedicated compute.

Why D is correct: Correct. Apps in the same plan share the same VM instances, so to give an app its own compute resources you isolate it by moving it to a separate App Service plan.

See more AZ-104 practice questions, answers explained.

More in this domain

Back to all Deploy and Manage Azure Compute Resources objectives, or the AZ-104 cert hub.

Examworthy is not affiliated with or endorsed by Microsoft. Original, blueprint-aligned practice material only.