Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your team uses GitHub Actions for CI/CD. You want Azure Monitor to raise an alert whenever a workflow run in the main branch fails or is cancelled. You plan to create a GitHub repository webhook that triggers a Logic App which writes a custom log entry in Azure Monitor. Which single GitHub event should you configure the webhook to send?
The webhook must deliver an event that reliably represents the final state of an entire workflow run. The workflow_run event fires when a workflow run is requested and again when it completes; its payload includes the run's status and conclusion, allowing the Logic App to detect failed or cancelled runs before writing to Azure Monitor. The check_suite event reports the overall status of checks but does not guarantee it covers every job in a workflow, repository_dispatch is a custom manual event, and deployment_status concerns GitHub Deployments, not Actions workflows.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the workflow_run event in GitHub Actions?
Open an interactive chat with Bash
How does the Logic App integrate with Azure Monitor using a custom log entry?
Open an interactive chat with Bash
What is the main difference between workflow_run and check_suite GitHub events?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Implement an instrumentation strategy
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .