Question

Difficulty: EasyConfigure Azure App Services

An administrator is configuring an Azure App Service web app to ensure it remains active and does not unload from memory during periods of no user traffic. Which configuration setting should the administrator enable, and what is the minimum required App Service plan tier for this setting?

  1. Enable the Always On setting on a Basic (B1) or higher App Service plan.Answer
  2. B
    Enable the Always On setting on a Shared (D1) App Service plan.
  3. C
    Configure a Virtual Machine Scale Set (VMSS) scale-out rule on a Free (F1) App Service plan.
  4. D
    Set the Container Restart Policy to Always on a Basic (B1) App Service plan.

Answer

Enable the Always On setting on a Basic (B1) or higher App Service plan.
To keep an Azure App Service web app loaded in memory and avoid cold starts during periods of inactivity, the Always On setting must be enabled. This setting requires a Basic (B1) or higher App Service plan (such as Standard or Premium).

Step-by-Step Solution

1
Identify the configuration parameter required to keep the Azure App Service worker process active and prevent it from unloading due to inactivity.
Determine that the Always On setting is the appropriate configuration to prevent cold start latency.
By default, App Service unloads idle applications from memory. Always On keeps the process constantly loaded.
2
Evaluate the App Service Plan pricing tier requirements for the identified setting.
Verify that Always On is only available starting at the Basic (B1) tier, and is disabled for Free (F1) and Shared (D1) plans.
Shared and Free tiers run on shared infrastructure where persistent worker processes are restricted.

Key Concept

Always On configuration and App Service Plan tier limitations
Rate this question