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.)
- Set Always on to OnAnswer
- Set ARR affinity to OffAnswer
- CSet ARR affinity to On
- DChange the App Service plan pricing tier to Shared (D1)
Answer
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.
Step-by-Step Solution
Key Concept
Configuring App Service general settings including Always on and ARR affinity.