You have an app deployed with Azure Pipelines to Staging and Production environments. You need to validate app performance in Staging before deploying to Production while minimizing administrative effort. What should you configure in the Azure DevOps project?
Choose an answer
Tap an option to check your answer.
Correct answer: In the Staging environment, add a check that queries Azure Monitor Alerts for active alerts..
Why this is the answer
Configuring a check in the Staging environment that queries Azure Monitor Alerts for active alerts is the most effective solution. This allows for automated validation of application performance in Staging. If performance issues trigger Azure Monitor alerts, the deployment to Production will be blocked, ensuring only stable versions proceed. The other options are less suitable: Adding a status check to the production branch policy would prevent merging to main (or equivalent), but not directly validate the deployed application's performance in Staging. Adding a check in the Production environment would only identify issues after deployment to Production, which is too late for pre-production validation. Adding a post-deployment approval for the Azure Monitor Alerts group in the Production environment stage is a manual step and doesn't automate the performance validation in Staging.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed