Microsoft Azure Administrator Associate AZ-104 Practice Question
Your organization hosts a web application on an Azure App Service. You need to set up continuous deployment from a GitHub repository so that code changes are automatically deployed. Additionally, you want to test the new changes in a staging environment before they become live to users, without disrupting the production application. What should you configure to meet these requirements?
Configure the App Service to use the run-from-package feature
Configure deployment slots and set up continuous deployment to a staging slot
Increase the instance count in the App Service plan
To meet these requirements, you should configure deployment slots and set up continuous deployment to a staging slot. Deployment slots in Azure App Service allow you to host multiple versions of your application in different slots (e.g., staging and production). By deploying to a staging slot, you can test the new changes in an environment identical to production. Once testing is complete, you can swap the staging slot with the production slot, promoting the changes without downtime. Increasing the instance count in the App Service plan improves scalability but doesn't provide a staging environment. Configuring run-from-package simplifies deployments but doesn't offer a way to test changes before they go live. Enabling Application Insights helps with monitoring and diagnostics but doesn't facilitate deployment or testing in a separate environment.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are deployment slots in Azure App Service?
Open an interactive chat with Bash
How does continuous deployment work with GitHub and Azure App Service?
Open an interactive chat with Bash
What is the benefit of having a staging environment before deploying to production?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access