Soru

Zorluk: KolayConfigure Azure App Services

An organization deploys a background processing tool as an Azure App Service web app. The application requires a continuous connection pool and must run uninterrupted. Additionally, the web app's instances should handle incoming requests in a stateless manner, meaning client session affinity must be deactivated. Which two settings under the General settings configuration of the web app must be modified to support this scenario? (Select two.)

  1. Set Always on to OnCevap
  2. Set ARR affinity to OffCevap
  3. C
    Set ARR affinity to On
  4. D
    Change the App Service plan pricing tier to Shared (D1)

Cevap

To support this scenario, you must set Always on to On and set ARR affinity to Off.
Enabling the Always on setting prevents the app from being unloaded due to inactivity, ensuring background tasks run continuously. Disabling the ARR affinity setting deactivates client session affinity, allowing stateless distribution of client requests across all available app instances.

Adım Adım Çözüm

1
Determine the setting required to keep the application continuously active.
Always on must be configured to On.
By default, App Service web apps are unloaded if they are idle. Setting Always on to On ensures the app remains loaded to run background tasks continuously.
2
Determine the setting required to handle requests in a stateless manner.
ARR affinity must be configured to Off.
ARR affinity routes subsequent requests from a client to the same instance. Disabling ARR affinity allows stateless request distribution across all instances.

Anahtar Kavram

Configuring App Service general settings including Always on and ARR affinity.
Bu soruyu puanla