‹ All AZ-104 questions

AZ-104 Practice Question 76: App Service Always on

Microsoft Azure Administrator Associate (AZ-104) · Test 8 · question 6 of 10

Computemedium

A web app runs on a Basic-tier App Service plan. The first request after a quiet period of about 20 minutes is very slow, while later requests are fast. The app is stateless and only one instance is needed.

What should the administrator do to remove the delay?

Select one answer
Show answer and explanation

Answer:

  • A. Turn on Always On in the configuration of the web app

By default an app is unloaded after about 20 minutes without requests, and the next request pays the start-up cost. Always On keeps the app loaded by sending periodic requests. It is available in Basic and higher tiers, but not in Free or Shared.

Option B adds a second instance, but both instances are still unloaded when idle, so the first request is still slow.

Option C only makes a client's requests stick to the same instance and does nothing about idle unloading.

Option D changes the host name and TLS setup, not how the worker process is kept running.

Reference: Configure an App Service app: general settings

Practice Test 8 ›

Study guides for AZ-104