AZ-400 exam dumps

AZ-400 practice question 170 of 306

Designing and Implementing Microsoft DevOps Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-400 Question 170

Select 2

Your company hosts a mission-critical web application on Azure App Service. To minimize downtime and enable rapid rollback if a new version causes issues, you plan to implement a deployment approach leveraging deployment slots. Which two actions should you take to ensure a resilient deployment strategy?

  1. A

    Use a blue-green deployment model by creating an additional deployment slot and swapping slots after verification.

  2. B

    Rely on forced updates to the production slot to ensure immediate release of new features.

  3. C

    Run performance and functional tests against a staging slot before promoting the slot to production.

  4. D

    Include manual approval steps in the pipeline to bypass slot swapping for direct production deployment.

Show answer and explanation

Correct answers: A, C

Explanation

By using multiple Azure App Service slots and swapping them after verifying the new release in a staging slot, organizations minimize downtime and ensure a quick rollback path if needed. The blue-green approach�combined with thorough testing in a pre-production slot�enhances overall resiliency and reduces deployment risks. For more details, refer to Microsoft� documentation on 'Azure App Service Deployment Slots' (https://docs.microsoft.com/azure/app-service/deploy-staging-slots).

  • A. Correct.

    Option 1 is correct: In a blue-green deployment, you deploy new changes to a separate environment (an additional slot), validate them, and then swap slots. This approach ensures minimal downtime and allows quick rollback if problems arise.

  • B. Incorrect.

    Option 2 is incorrect: Forcing updates directly to production minimizes verification time and increases risk, which is not recommended for resilient deployments.

  • C. Correct.

    Option 3 is correct: Running tests on a staging slot before swapping to production ensures that the build is verified in an environment that closely resembles production, reducing the likelihood of failures in the live environment.

  • D. Incorrect.

    Option 4 is incorrect: Although manual approvals can be used for additional safeguards, bypassing slot swapping defeats the purpose of having a validated environment to test new changes before exposing them to production.

Timed practice exam

Take a AZ-400 practice test under exam conditions

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

Start timed exam