Microsoft AZ-400 Exam Questions
Designing and Implementing Microsoft DevOps Solutions (Page 8 )

Updated On: 16-Mar-2026

You use Azure Pipelines to build and test code.

You need to analyze the agent pool usage.

What are two ways to achieve the goal? Each correct answer presents a complete solution.

Note: Each correct selection is worth one point.

  1. Query the PipelineRun/PipelineRuns endpoint.
  2. Review the historical graph for the agent pools.
  3. Query the TaskAgentPoolSizeSnapshot/TaskAgentPoolSizeSnapshots endpoint.
  4. Review the Pipeline duration report.

Answer(s): B,C

Explanation:

B: Azure Pipelines, Historical graph for agent pools
The pool consumption report enables you to view jobs running in your agent pools graphed with agent pool job concurrency over a span of up to 30 days. You can use this information to help decide whether your jobs aren't running because of concurrency limits. If you have many jobs queued or running jobs at the concurrency or online agents limit, you may wish to purchase additional parallel jobs or provision more self-hosted agents.
C: This endpoint provides historical data on the available agents in your pool over time. By querying this endpoint, you can identify periods where the number of available agents dipped, potentially causing queues and increased wait times for jobs.


Reference:

https://learn.microsoft.com/en-us/azure/devops/report/analytics/entity-reference-pipelines?view=azure- devops#taskagentpoolsizesnapshots https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pool-consumption-report



HOTSPOT (Drag and Drop is not supported)

You are using Agile process methodologies in Azure DevOps.

You need to deploy a dashboard that will provide progress reports for the following work items:

How long it took to close a work item after it was created.

How long it took to close a work item after the work was started.

Which type of widget should you use for each work item? To answer, select the appropriate options in the answer area.

Note: Each correct selection is worth one point.

Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: Lead time
How long it took to close a work item after it was created.

Lead time measures the total time elapsed from the creation of work items to their completion.

Box 2: Cycle time
How long it took to close a work item after the work was started.

Cycle time measures the time it takes for your team to complete work items once they begin actively working on them.

Incorrect:
* Burndown chart, Burnup chart
Burndown and burnup charts support project management to visually track work completed over time.

Burndown charts begin with the total amount of planned work and then as work is completed graphs the remaining work. With the progression of time, the amount of to-do work decreases.

Burnup charts track work as it is completed over time. They're useful to show the rate at which work is getting completed.


Reference:

https://learn.microsoft.com/en-us/azure/devops/report/dashboards/burndown-guidance



DRAG DROP (Drag and Drop is not supported)

You have a GitHub repository that contains the source code for an app named App1.

You need to create process documentation for App1. The solution must include a diagram that displays the relationships between the phases of App1 as shown in the following exhibit.



How should you complete the markdown code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Note: Each correct selection is worth one point.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: StateDiagram
Mermaid can render state diagrams. The syntax tries to be compliant with the syntax used in plantUml as this will make it easier for users to share diagrams between mermaid and plantUml.

Note: A state diagram is a type of diagram used in computer science and related fields to describe the behavior of systems. State diagrams require that the system described is composed of a finite number of states; sometimes, this is indeed the case, while at other times this is a reasonable abstraction.

Box 2: Processing
Composite states
In a real world use of state diagrams you often end up with diagrams that are multi-dimensional as one state can have several internal states. These are called composite states in this terminology.

In order to define a composite state you need to use the state keyword followed by an id and the body of the composite state between {}. See the example below:

stateDiagram-v2
[*] --> First state First {
[*] --> second second --> [*]
}

Note: Mermaid is a Markdown-inspired tool that renders text into diagrams. To create a Mermaid diagram, add Mermaid syntax inside a fenced code block with the mermaid language identifier.

Incorrect:
* flowchart
All Flowcharts are composed of nodes, the geometric shapes and edges, the arrows or lines. The mermaid code defines the way that these nodes and edges are made and interact.


Reference:

https://mermaid-js.github.io/mermaid/#/stateDiagram https://mermaid-js.github.io/mermaid/#/flowchart



DRAG DROP (Drag and Drop is not supported)

You have a web app named App1 that uses Application Insights in Azure Monitor to store log data. App1 has users in multiple locations.

You need to query App1 requests from London and Paris that return a 404 error. The solution must meet the following requirements:

Return the timestamp, url, resultCode, and duration fields.

Only show requests made during the last hour.

How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Note: Each correct selection is worth one point.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: timestamp >= ago(1hr)
Add a time filter to the query
You can also define your own time range by adding a time filter to the query. It's best to place the time filter immediately after the table name:

SecurityEvent
| where TimeGenerated > ago(30m)
| where toint(Level) >= 10
In the preceding time filter, ago(30m) means "30 minutes ago." This query returns records from only the last 30 minutes, which is expressed as, for example, 30m. Other units of time includ

Box 2: project
Use project and extend to select and compute columns
Use project to select specific columns to include in the results:

SecurityEvent
| top 10 by TimeGenerated
| project TimeGenerated, Computer, Activity


Reference:

https://learn.microsoft.com/en-us/azure/azure-monitor/logs/get-started-queries



DRAG DROP (Drag and Drop is not supported)

You have a web app named App1 that is hosted on multiple servers. App1 uses Application Insights in Azure Monitor.

You need to compare the daily CPU usage from the last week for all servers.

How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Note: Each correct selection is worth one point.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: bin(timestamp,1d)
Summarizing each day's request count into a timechart (a line chart). We also have options got a bar chart (barchart), pie chart (piechart), area chart (areachart) and scatter chart (scatterchart)

requests
| summarize request_count = count() by bin(timestamp, 1d)
| render timechart

Box 2: render (timechart,1d)


Reference:

https://putridparrot.com/blog/basics-of-kql/



Viewing page 8 of 72
Viewing questions 36 - 40 out of 355 questions



Post your Comments and Discuss Microsoft AZ-400 exam dumps with other Community members:

AZ-400 Exam Discussions & Posts

AI Tutor 👋 I’m here to help!