Microsoft DevOps Engineer Expert (AZ-400) · Section 1 · 13% of the exam
Design and implement appropriate metrics and queries for security
One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Design and implement processes and communications”. Here is what it covers, the points to remember and a question to try.
What it covers
How to measure flow with lead time, cycle time and time to recovery, build Azure DevOps dashboards, and choose metrics and queries for planning, development, testing, security, delivery and operations, including KQL for operational data.
Points to remember
- Lead time = created to completed; cycle time = first In Progress to completed; lead time is never shorter than cycle time.
- Cycle Time and Lead Time widgets are scatter plots with a moving average and a standard-deviation band, based on Analytics.
- A widening band on the Cumulative Flow Diagram shows work piling up in that column.
- DORA keys: deployment frequency, lead time for changes, change failure rate, time to restore service.
- Azure DevOps has no built-in MTTR widget; derive it from incident work items or Azure Monitor alert times.
Try a question
Which WIQL fragment returns bugs created within the last seven days?
- A[System.WorkItemType] = 'Bug' AND [System.CreatedDate] <= @Today - 7
- B[System.WorkItemType] = 'Bug' AND [System.State] = @CurrentIteration - 7
- C[System.WorkItemType] = 'Bug' AND [System.AssignedTo] = @Project
- D[System.WorkItemType] = 'Bug' AND [System.CreatedDate] >= @Today - 7
Show the answer
D. WIQL macros such as @Today, @Me and @CurrentIteration keep queries reusable. Comparing CreatedDate to @Today - 7 with >= keeps the recent items.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Dashboards, flow metrics and queries teaches this objective (about 50 minutes), and 18 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
- Design and implement a structure for the flow of work, including GitHub Flow
- Design and implement a strategy for feedback cycles, including notifications and GitHub Issues
- Design and implement integration for tracking work, including GitHub projects, Azure Boards, and repositories
- Design and implement source, bug, and quality traceability
- Design and implement a dashboard, including flow of work, such as cycle times, time to recovery, and lead time
- Design and implement appropriate metrics and queries for project planning
- Design and implement appropriate metrics and queries for development
- Design and implement appropriate metrics and queries for testing
- Design and implement appropriate metrics and queries for delivery
- Design and implement appropriate metrics and queries for operations
- Document a project by configuring wikis and process diagrams, including Markdown and Mermaid syntax
- Configure release documentation, including release notes and API documentation