You are deploying a web application to Azure App Service. Your team uses slot deployments. After deploying a new version to the staging slot and running smoke tests, you swap staging to production. Users report the app is slow for the first few minutes after the swap. What feature eliminates this cold-start issue?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Enable Application Initialization on the staging slot so it is warmed before traffic is routed

Application Initialization (applicationInitialization in web.config or the Azure portal) warms up the staging slot by sending HTTP requests to configured paths before the swap comp...

๐Ÿ“‹Part of Microsoft Certified: Azure Developer Associate (AZ-204) ยท Azure Certification Practice
Real Exam ScenarioAzure App Service

You are deploying a web application to Azure App Service. Your team uses slot deployments. After deploying a new version to the staging slot and running smoke tests, you swap staging to production. Users report the app is slow for the first few minutes after the swap. What feature eliminates this cold-start issue?

โœ“ Correct Answer & ExplanationAzure App Service

Correct Answer

Enable Application Initialization on the staging slot so it is warmed before traffic is routed

Why This Answer Is Correct

Application Initialization (applicationInitialization in web.config or the Azure portal) warms up the staging slot by sending HTTP requests to configured paths before the swap completes. This ensures the new slot is fully warmed before any traffic is redirected, eliminating cold starts.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure App Service โ€” a core concept tested in Microsoft Certified: Azure Developer Associate (AZ-204). Understanding Azure App Service is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.