AZ-104 exam dumps

AZ-104 practice question 170 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 170

Single answer

Your organization runs a production web application on an Azure App Service configured on the Standard tier. You need to test new features with minimal downtime and easily roll back if necessary. Which approach should you use?

  1. A

    Scale up the existing App Service plan to a higher pricing tier

  2. B

    Configure a separate deployment slot for staging and swap when ready

  3. C

    Create a new App Service resource for testing in a different resource group

  4. D

    Enable continuous integration (CI) in the production App Service

Show answer and explanation

Correct answer: B

Explanation

Deployment slots are designed for no-downtime testing and deployment, letting you swap from staging to production instantly. This approach reduces downtime and simplifies rolling back changes if issues arise.

  • A. Incorrect.

    Scaling up the App Service plan only increases resources but does not facilitate a separate environment for staging or rollback.

  • B. Correct.

    Deployment slots allow you to maintain separate staging and production environments on the same App Service plan, minimizing downtime and enabling quick rollbacks.

  • C. Incorrect.

    Creating a new App Service resource is less efficient and can be more costly than using deployment slots in the same plan.

  • D. Incorrect.

    CI is valuable for automating code pushes, but it doesn't provide the isolation and quick swap capability that a separate slot does.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam