🔥 3-day streak
Microsoft DevOps Engineer Expert53 / 138
Question 53 of 138

Your team deploys a web application to a production environment using an Azure Pipelines multi-stage YAML pipeline. You must implement a deployment that reroutes traffic to a newly deployed version only after health probes pass, and if the health checks fail you need to automatically restore the previous version. You want to use the built-in strategy that provides explicit lifecycle hooks (preDeploy, deploy, routeTraffic, postRouteTraffic, and on: failure/success) for this rerouting and validation logic. Which deployment job strategy should you configure?

Reviewed for accuracy · Report an issueNext question