# Design and implement success metrics for DevOps — Practice reading

Exam: AZ-401 — Designing and Implementing Microsoft Agentic DevOps Solutions (beta)
Knowledge domain: Design and implement processes and communications (15–20%)
HTML: https://learningpathx.com/learning-path/AZ-401/learn/792

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: single\_choice
Knowledge point: Design and implement success metrics for DevOps

On November 14, 2026, a release lead reviews a rollout pilot for one service in Azure DevOps Services. The business wants at least twice as many feature deployments to reach production traffic in a 28-day window, with no increase in the share of those deployments that require an attributed rollback or hotfix within 48 hours of going live. The lead has read-only exports of the release pipeline records and the service incident register. The records link each corrective action to its originating deployment, and the full 48-hour follow-up is available for both windows. A pipeline run can succeed without putting a feature into production, and a live deployment can require more than one corrective action. The corrective-action counts below include only rollbacks or hotfixes attributed to a deployment within 48 hours of it going live. The scorecard must use the available records without relying on preview features. The 28-day baseline ended October 10, 2026\. It recorded 40 release pipeline runs, 30 successful runs, 20 distinct feature deployments that reached production traffic, 2 of those deployments requiring corrective action, and 4 corrective actions. The 28-day pilot ended November 7, 2026\. It recorded 100 release pipeline runs, 75 successful runs, 40 distinct feature deployments that reached production traffic, 5 of those deployments requiring corrective action, and 6 corrective actions. Which scorecard uses the right measures and correctly reports the pilot's results? Choose ONE.

### Options

**A**

Measure delivery by live feature deployments and reliability by the share of those deployments requiring corrective action. Delivery meets its target, and reliability stays within its limit.

**B**

Measure delivery by live feature deployments and reliability by the share of release pipeline runs represented by affected deployments. Delivery meets its target, and reliability stays within its limit.

**C**

Measure delivery by live feature deployments and reliability by the share of those deployments requiring corrective action. Delivery misses its target, and reliability misses its limit.

**D**

Measure delivery by live feature deployments and reliability by the share of those deployments requiring corrective action. Delivery meets its target, and reliability misses its limit.

Correct answer: D

### Explanation

Count distinct feature deployments that reached production traffic in each 28-day window. The pilot reached 40 deployments, exactly twice the baseline of 20, so it met the delivery target. For the guardrail, count each live deployment once if it required an attributed rollback or hotfix within 48 hours of going live. The affected share rose from 2 of 20 (10%) to 5 of 40 (12.5%), so the pilot missed the reliability limit. Using all pipeline runs as the denominator would bring in runs outside the live deployment population. Using individual corrective actions as the numerator would give extra weight to deployments that required multiple interventions.

## Question 2

Type: single\_choice
Knowledge point: Design and implement success metrics for DevOps

A DevOps metrics analyst is preparing the October 2026 report for a production pipeline. The report covers scheduled runs queued from 00:00 UTC on October 1 through, but excluding, 00:00 UTC on November 1\. All runs in the window have a final outcome: 118 succeeded, 10 failed, and 12 were canceled.

The team defines two success-rate targets:

* Execution reliability must be at least 92.0% among runs that were not canceled.
* Scheduled-run yield must be at least 85.0% across all scheduled runs in the report, including canceled runs.

Use the unrounded rates to evaluate the targets, and round the displayed percentages to one decimal place. Which results should the analyst report? Choose ONE.

### Options

**A**

Execution reliability meets its target. Scheduled-run yield meets its target.

**B**

Execution reliability misses its target. Scheduled-run yield meets its target.

**C**

Execution reliability meets its target. Scheduled-run yield misses its target.

**D**

Execution reliability misses its target. Scheduled-run yield misses its target.

Correct answer: C

### Explanation

Both measures count the same 118 successful runs. Execution reliability excludes the 12 cancellations, so its denominator is 118 + 10 = 128\. The rate is 92.1875%, which meets the 92.0% target and displays as 92.2%. Scheduled-run yield includes the cancellations, so its denominator is 118 + 10 + 12 = 140\. The rate is approximately 84.2857%, which misses the 85.0% target and displays as 84.3%.

## Question 3

Type: single\_choice
Knowledge point: Design and implement success metrics for DevOps

A DevOps team uses Azure Boards work-item history to report how long delivered work takes. Its reporting window starts on November 9, 2026, at 00:00 UTC, inclusive, and ends on November 16 at 00:00 UTC, exclusive. An item qualifies if its final completion falls within the window.

For each qualifying item, the team measures lead time from creation to final completion and cycle time from its first entry into In Progress to final completion. Both measures use elapsed calendar hours, including any time spent in Completed before reactivation. All timestamps below are in UTC and fall on whole hours, so no rounding is needed.

* November 7 at 12:00: The item is created.
* November 9 at 06:00: It first enters In Progress.
* November 11 at 18:00: It enters Completed.
* November 12 at 12:00: It is reactivated and returns to In Progress.
* November 14 at 06:00: It enters Completed and has no further state changes.

What lead time and cycle time should the team report for this item? Choose ONE.

### Options

**A**

144 hours of lead time and 102 hours of cycle time.

**B**

162 hours of lead time and 120 hours of cycle time.

**C**

102 hours of lead time and 60 hours of cycle time.

**D**

126 hours of lead time and 120 hours of cycle time.

Correct answer: B

### Explanation

The final completion on November 14 at 06:00 UTC puts the item in the reporting window. Creation on November 7 at 12:00 to final completion is 6 days and 18 hours, or 162 hours of lead time. The first entry into In Progress on November 9 at 06:00 to final completion is 5 days, or 120 hours of cycle time. The reporting window determines whether the item qualifies, so lead time includes the hours before the window opens. Both measurements also include the 18 hours the item spent in Completed before reactivation.

## Question 4

Type: single\_choice
Knowledge point: Design and implement success metrics for DevOps

On November 14, 2026, a DevOps team prepares a weekly reliability report for its production checkout API. The reporting identity can read the Azure DevOps Services deployment records and the production monitoring records. The team's target is a median of 30 minutes or less from the first customer-facing degradation to service restoration when a production release causes the disruption. The following records cover the reporting window. All times are UTC. R17: The deployment run reported success. The new release caused checkout errors at 09:10\. The rollback job finished at 09:28, and monitoring confirmed that checkout recovered at 09:40\. R18: The deployment run failed before it shifted production traffic. Checkout remained healthy, and a later retry succeeded. I04: An external payment provider outage degraded checkout from 11:00 to 11:20\. No deployment contributed to the incident. R19: The deployment run failed after shifting traffic to the new release. That release caused checkout errors at 15:00\. The remediation job finished at 15:12, and monitoring confirmed that checkout recovered at 15:40\. Which result should the team report for this KPI? Choose ONE.

### Options

**A**

Report a median of 35 minutes using R17 and R19.

**B**

Report a median of 40 minutes using R19 alone.

**C**

Report a median of 30 minutes using R17, I04, and R19.

**D**

Report a median of 15 minutes using R17 and R19.

Correct answer: A

### Explanation

Use the Azure DevOps Services deployment records together with production monitoring to identify release-caused disruptions and measure how long customers were affected. R17 and R19 both qualify because their releases disrupted checkout, regardless of how the deployment runs ended. R18 caused no service degradation, and I04 was caused by a provider outage. From the onset of degradation to confirmed service restoration, R17 took 30 minutes and R19 took 40 minutes. Their median was 35 minutes, so the team missed its 30-minute target.

## Question 5

Type: single\_choice
Knowledge point: Design and implement success metrics for DevOps

You are reviewing an AI-generated WIQL query for a DevOps dashboard in Azure Boards on Azure DevOps Services, using the cloud query context as of November 14, 2026\. The dashboard must list the ID and title of every Priority 1 work item in the Checkout project, regardless of work item type or state. For this exercise, assume the query account can read the sample work items and `@project` resolves to `Checkout`.

The sample contains four work items:

* 210, Fix payment retry — Checkout, Priority 1
* 211, Update receipt layout — Checkout, Priority 2
* 212, Review checkout logs — Checkout, Priority 3
* 213, Restore catalog sync — Catalog, Priority 1

The assistant drafts this query:

```sql
SELECT [System.Id], [System.Title]
FROM WorkItems
WHERE [System.TeamProject] = @project
  AND [Microsoft.VSTS.Common.Priority] <> ''
ORDER BY [System.Id]
```

The simulated run returns IDs 210, 211, and 212 in that order. Which replacement for the priority clause makes the query match the dashboard definition? Choose ONE.

### Options

**A**

`sql AND [Microsoft.VSTS.Common.Priority] = 1 `

**B**

`sql AND [Microsoft.VSTS.Common.Priority] >= 1 `

**C**

`sql AND [Microsoft.VSTS.Common.Priority] <= 2 `

**D**

`sql AND [Microsoft.VSTS.Common.Priority] <> 2 `

Correct answer: A

### Explanation

The draft checks whether Priority has a value, so all three Checkout work items qualify. The dashboard definition requires the exact numeric value 1\. Use `[Microsoft.VSTS.Common.Priority] = 1` with the existing project filter. In the sample, only ID 210 meets both conditions. ID 213 has Priority 1 but belongs to Catalog.

## Question 6

Type: single\_choice
Knowledge point: Design and implement success metrics for DevOps

On November 14, 2026, a release engineer is validating an AI-drafted daily pipeline pass-rate query for an Azure DevOps Services project. The project has Analytics enabled and permits the v3.0-preview Analytics OData endpoint. The engineer is a project member with Basic access and permission to query Analytics.

The report tracks one stable pipeline ID and shows one slot for each completion date from November 11 through November 13\. Daily pass rate is the percentage of completed, noncanceled runs that succeeded.

In this test scenario, the query succeeds and returns these results after filtering out canceled runs:

* November 11: 6 successes across 8 eligible runs.
* November 12: No group returned. A check of the underlying runs finds three completions, all canceled.
* November 13: 0 successes across 4 eligible runs.

Which rule should the engineer use to populate the three report slots? Choose ONE.

### Options

**A**

Calculate the rate when the success count is positive and display No data when that count is zero or absent.

**B**

Calculate the rate when the eligible run count is positive and display No data when the count is zero or absent.

**C**

Calculate the rate for each returned group and display 100% for dates with no group.

**D**

Calculate the rate for each returned group and display 0% for dates with no group.

Correct answer: B

### Explanation

Divide the success count by the eligible run count and multiply by 100 when the denominator is positive. November 11 is 75%. On November 12, excluding the three canceled runs leaves zero eligible runs, so the report shows No data in that date slot. November 13 is a measured 0% because none of its four eligible runs succeeded. A successful Analytics response can legitimately omit a date when its filtered population is empty.

