Microsoft DevOps Engineer Expert (AZ-400) · Section 5 · 8% of the exam
Configure alerts for events in GitHub Actions and Azure Pipelines
One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Implement an instrumentation strategy”. Here is what it covers, the points to remember and a question to try.
What it covers
Telemetry only helps if the right person hears about a problem. This lesson covers GitHub repository and Actions insights, GitHub Projects charts, notifications for failed workflows, Azure DevOps notification subscriptions and service hooks, and the Azure Monitor alert rules, action groups and release gates that connect production health back to the pipeline.
Points to remember
- Repository Traffic needs push access and keeps 14 days; Actions metrics are under Insights (organization or repository) and export to CSV.
- Charts are created in a GitHub Project: insights icon > New chart > filter > Save changes.
- GitHub notifies you about runs you triggered; you can limit mail to failed workflows only. Scheduled workflow mail goes to the creator, then to whoever last changed the cron.
- Azure DevOps has four notification levels: personal, team, project and global. Global needs Project Collection Administrators.
- Service hooks push Azure DevOps events to Teams, Slack, webhooks and queues; notifications never block a deployment, checks do.
Try a question
An action group must call a protected internal API that validates tokens from Microsoft Entra ID. Basic authentication is not allowed. Which action type should be used?
- AWebhook with credentials embedded in the URI
- BITSM action
- CSecure webhook
- DEmail Azure Resource Manager role
Show the answer
C. Secure webhook uses a Microsoft Entra application and service principal to authenticate the call and does not support basic authentication. The plain Webhook action cannot pass certificates, so credentials go in the URI. If the endpoint needs a specific schema such as Teams, use a Logic App action.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Monitoring and alerts in GitHub, Azure Pipelines and Azure Monitor teaches this objective (about 45 minutes), and 12 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Configure Azure Monitor and Azure Monitor Logs to integrate with DevOps tools
- Configure collection of telemetry by using Azure Monitor Application Insights, Azure VM Insights, Azure Container Insights, Azure Monitor for Storage, and Azure Monitor for Networks
- Configure monitoring in GitHub, including enabling insights and creating and configuring charts
- Inspect infrastructure performance indicators, including CPU, memory, disk, and network
- Analyze metrics by using collected telemetry, including usage and application performance
- Inspect distributed tracing by using Azure Monitor Application Insights
- Interrogate logs using basic Kusto Query Language (KQL) queries