Microsoft DevOps Engineer Expert AZ-400 Practice Question
You manage a GitHub Enterprise Cloud repository whose "Build-and-Test" workflow runs on every push. Product managers want to know which branches are least reliable and have asked for a visual that displays the workflow's success rate for each branch during the last seven days, available directly in the GitHub UI. Which action should you take in the repository to create this visualization?
Install a third-party GitHub Marketplace app for Actions analytics, configure branch filters in the app settings, and use the app's generated reliability dashboard.
Use the REST API endpoint /repos///actions/runs to retrieve the last week of runs, calculate success percentages offline, and embed a generated chart image in the repository README.
Enable Code scanning in Security, open the Security Insights dashboard, select the Build-and-Test workflow, and export a SARIF report for the last seven days.
Navigate to Actions > Performance Metrics, select New chart, choose the metric "Success rate", group by "Branch", filter on the Build-and-Test workflow, set the time range to Last 7 days, and save the chart.
Inside the repository, navigating to Actions and then to the performance metrics section allows for the creation of custom charts. This area includes a chart builder that can display built-in workflow run metrics such as success rate, failure rate, and duration. Choosing to create a new chart, setting the metric to "Success rate", grouping the data by "Branch", applying a filter for the "Build-and-Test" workflow, and selecting the "Last 7 days" time range creates the requested visualization. The other options are incorrect because they require external tooling, focus on code-scanning rather than workflow metrics, or rely on manual data extraction.
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 are performance metrics in GitHub Actions?
Open an interactive chat with Bash
What does 'group by branch' mean in the context of GitHub Actions performance metrics?
Open an interactive chat with Bash
How does the 'Success rate' metric help in evaluating workflows?
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 .