Developing Solutions for Microsoft Azure (AZ-204) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Developing Solutions for Microsoft Azure Exam. Prepare with flashcards and multiple choice questions, get hints and explanations for each question. Ace your test prep!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the default traffic routing rule for new deployment slots in App Service?

  1. 0%

  2. 10%

  3. 20%

  4. 50%

The correct answer is: 0%

In Azure App Service, when you create a new deployment slot, the default traffic routing rule is set to send 0% of the traffic to that slot. This means that when you first create a new slot, it is not exposed to any user traffic until you explicitly configure the traffic routing to do so. This feature allows developers to safely validate new changes in a slot without affecting the production environment. If you decide to gradually increase traffic to the new slot, you have the flexibility to adjust routing rules accordingly. By starting with 0%, you have the opportunity to test and verify the functionality and performance of your application in the new slot before it attracts real user traffic, minimizing risk. Other options suggest percentages that would route a portion of the traffic to the new slot immediately upon creation, which isn't the default behavior. This default setting ensures that the slot is fully tested and approved for production before exposing it to end-users, maintaining stability and user experience in the live application.