Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure Azure Monitor and Azure Monitor Logs to integrate with DevOps tools

A worked example

Match

You are creating a classic release pipeline in Azure DevOps that deploys a web app to Azure App Service. Telemetry for the app is sent to an existing Application Insights resource. Releases must be promoted without manual intervention when the monitored Azure Monitor alerts resolve within the evaluation timeout.

Match each requirement to the part of the release pipeline where you meet it.

  • Correct match: Release pipeline template.

    The 'Azure App Service deployment with continuous monitoring' template provides the starting configuration and default alert rules. After applying it, you select the target resource in the stage task settings.

  • Correct match: Stage task settings.

    In the Stage 1 configuration pane, you select the resource group and the Application Insights resource name. The template supplies the rules, but you choose the target resource in the stage task settings.

  • Correct match: Deployment gate.

    A 'Query Azure Monitor alerts' deployment gate holds promotion while monitored alerts are active and lets the deployment proceed automatically if they resolve within the evaluation timeout. A pre-deployment approval waits for a person to act, which breaks the requirement for no manual intervention.

  • Correct match: Release logs.

    Gate evaluations and deployment steps are reviewed in the release logs. A deployment gate performs the evaluation but is not where you review its history.

Why

The 'Azure App Service deployment with continuous monitoring' template lets you save the pipeline with default alert rules. You then select the target Application Insights resource and its resource group in the Stage 1 task settings. A 'Query Azure Monitor alerts' deployment gate holds promotion while monitored alerts are active and lets the release continue automatically if they resolve within the evaluation timeout. Gate evaluations are reviewed in the release logs. A pre-deployment approval waits for a person to approve or reject, so it does not meet the requirement for automatic promotion and matches no item.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free