Correct Answer: The app was not warmed up before the swap; configure Application Initialization to pre-warm the staging slot before traffic is routed
App Service swaps traffic to the new slot before the application is fully initialized. Configuring Application Initialization (applicationInitialization element in web.config, or w...
Correct Answer
The app was not warmed up before the swap; configure Application Initialization to pre-warm the staging slot before traffic is routed
Why This Answer Is Correct
App Service swaps traffic to the new slot before the application is fully initialized. Configuring Application Initialization (applicationInitialization element in web.config, or warmup requests) ensures the slot is warmed up and healthy before the swap completes, preventing 500 errors.
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.
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?
Your Azure App Service web app stores connection strings for a database. You need to ensure the connection string value is different between your staging and production deployment slots. Which approach is correct?
Your web application hosted on Azure App Service needs to connect to an Azure SQL Database without storing the database connection string (including password) in any configuration file or environment variable. The solution must work without any code changes to the connection string format. Which feature achieves this?
You are hosting a REST API on Azure App Service. To comply with corporate security standards, the API must only accept requests from a single external partner company's static public IP address. The solution must run at the platform level to prevent invalid traffic from consuming compute resources in your App Service plan. How should you configure this?