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?
Enable Application Insights for the App Service
Configure the App Service to use the run-from-package feature
Increase the instance count in the App Service plan
Configure deployment slots and set up continuous deployment to a staging slot
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 do you set up continuous deployment from a GitHub repository to an Azure App Service?
Open an interactive chat with Bash
What happens when you swap deployment slots in Azure, and why is it useful?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .