nerdexam
Microsoft

AZ-305 · Question #207

Hotspot Question Your company deploys an Azure App Service Web App. During testing the application fails under load. The application cannot handle more than 100 concurrent user sessions. You enable…

This hotspot question tests knowledge of Azure App Service scaling strategies and performance optimization techniques when an application fails under load with concurrent user session limits.

Submitted by tarun92· Mar 6, 2026Design infrastructure solutions

Question

Hotspot Question Your company deploys an Azure App Service Web App. During testing the application fails under load. The application cannot handle more than 100 concurrent user sessions. You enable the Always On feature. You also configure auto-scaling to increase instance counts from two to 10 based on HTTP queue length. You need to improve the performance of the application. Which solution should you use for each application scenario? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-305 question #207 exhibit

Answer Area

  • Store content close to end users.
    Azure Redis CacheAzure Traffic ManagerAzure Content Delivery NetworkAzure Application Gateway
  • Store content close to the application.
    Azure Redis CacheAzure Traffic ManagerAzure Content Delivery NetworkAzure Application Gateway

Explanation

This hotspot question tests knowledge of Azure App Service scaling strategies and performance optimization techniques when an application fails under load with concurrent user session limits.

Approach. When an application cannot handle more than 100 concurrent user sessions and auto-scaling is already configured, the root performance issues need to be addressed at the application tier level. For session handling issues, Azure Redis Cache should be used to offload session state management from the web app instances, allowing each instance to share session state across all scaled-out instances. For the scenario where the application still fails under load despite scaling out (horizontal scaling via auto-scaling is configured), scaling UP (vertical scaling) to a higher App Service Plan tier provides more CPU and memory per instance, addressing compute bottlenecks. The Always On feature prevents the app from being unloaded when idle, but does not solve concurrency limits - therefore using Azure CDN offloads static content delivery reducing server load, and using Azure Redis Cache for session state ensures session affinity issues are eliminated when scaling out to multiple instances.

Concept tested. Azure App Service performance optimization including the difference between scale-up (vertical) vs scale-out (horizontal) scaling, session state management with Azure Redis Cache, static content offloading with Azure CDN, and when each solution applies to specific failure scenarios under load.

Reference. https://docs.microsoft.com/en-us/azure/app-service/manage-scale-up and https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-aspnet-session-state-provider

Topics

#Web app performance#Caching#Content Delivery Network#Azure App Service

Community Discussion

No community discussion yet for this question.

Full AZ-305 Practice