Free AZ-400 Exam Braindumps
Designing and Implementing Microsoft DevOps Solutions Questions 25–29 (page: 42)

Updated On: 16-Nov-2026

You have an Azure DevOps pipeline named Pipeline1.
You need to track the stability of code changes in Pipeline1.
Which metric should you use?

  1. test pass rate
  2. lead time for changes (LT)
  3. time to detect (TTD)
  4. deployment frequency (DT)

Answer(s): D

Explanation:

Deployment frequency
Understanding the frequency of how often new code is deployed into production is critical to understanding DevOps success. Many practitioners use the term “delivery” to mean code changes that are released into a pre-production staging environment, and reserve “deployment” to refer to code changes that are released into production.
Incorrect:
Not B:
Lead time for changes is the length of time between when a code change is committed to the trunk branch and when it is in a deployable state. For example, when code passes all necessary pre-release tests.


Reference:

https://www.atlassian.com/devops/frameworks/devops-metrics



SIMULATION
Initialize the default main branch, if it does not already exist.
You need to protect the main branch of the Project-12345678 repository to ensure that all changes are processed by using a pull request that has traceability to a work item and approved by at least two users.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

See explanation below.


Action 0: Initialize the default main branch, if it does not already exist.
To initialize the main branch in Azure DevOps, you must first push a commit to the repository. Git repositories cannot exist with a branch until they contain at least one file.
Using the Web Portal:
If your repository is empty, Azure DevOps provides a "Quick Start" button.
Step 1: Navigate to Repos > Files.
Step 2: Look for the "Initialize" section at the bottom.
Step 3: Select Add a README or Add a .gitignore.
Step 4: Ensure the branch name is set to main.
Step 5: Click Initialize.
Action 1: Protect the main branch
To protect your main branch in Azure DevOps, you must configure Branch Policies. This ensures code quality and maintains a clear audit trail.
Step-by-Step Configuration
Step 1: Open your project in Azure DevOps. [Open Project-12345678]
1. Access Branch Policies
Step 2: Navigate to Repos > Branches
Step 3: Locate the main branch.
Step 4: Click the More actions (three dots ...) on the right.
Step 5: Select Branch policies.
Step 6: Find the Require a minimum number of reviewers section.
2. Require Minimum Approvers
Step 7: Toggle the switch to On.
Step 8: Set Minimum number of reviewers to 2.
Step 9: Find the Check for linked work items section.
3. Ensure Work Item Traceability
Step 10: Toggle the switch to On.Choose Required.
This prevents completing a PR unless a Task, Bug, or User Story is attached.


Reference:

https://medium.com/@nimmol156/setting-up-your-first-azure-devops-project-a-beginners-guide-409259b5404d https://learn.microsoft.com/en-us/azure/devops/repos/git/branch-policies



You have an Azure subscription that contains a storage account named storage1.
You are building an app named App1 that will read blobs stored in storage1 and perform actions based on the contents of the blobs. App1 must be triggered each time a new blob is written to storage.
You need to recommend a container solution for App1. The solution must minimize administrative effort.
What should you include in the recommendation?

  1. Azure Container Apps
  2. Azure App Service
  3. Azure Container Instances
  4. Azure Kubernetes Service (AKS)

Answer(s): D

Explanation:

To implement a containerized solution that triggers when a new blob is written to an Azure storage account, you should include the following architectural components and configurations:
1. Trigger Mechanism (Event-Based)
2. Container Orchestration & Scaling
KEDA (Kubernetes-based Event Driven Autoscaling): Essential for scaling containers from zero to many based on event volume. KEDA can scale your pods based on the number of messages in a queue (if events are piped through a queue) or directly from Event Grid.
Dapr (Distributed Application Runtime).
To implement a solution where an application in Azure Kubernetes Service (AKS) reacts to new blobs in an Azure Storage Account, you should use an event-driven architecture.


Reference:

https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger



You have a project in Azure DevOps named App Project that is used to develop an app named App1. App1Project has an Azure Boards team dashboard that is used to monitor the progress of App1 and track work items.
You need to track how long it takes to close a work item once work for the item has commenced.
Which type of widget should you add to the dashboard?

  1. sprint burndown
  2. velocity
  3. lead time
  4. cycle time

Answer(s): D



SIMULATION
For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram.
A sample of the desired output is stored in C:\Resources\TCPHandshake.png.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

See explanation below.


Task 1: Create a wiki for your project
Azure DevOps, Create a wiki for your project
Step 1: In Project1, use the navigation to get to the Wiki hub.

Step 2: Since this project does not yet have its wiki configured, click Create project wiki to set one up.
When you create your first wiki, Azure DevOps will provision a git repository that will store all your pages and artifacts.

Task 2: Render a diagram using the Mermaid syntax
The actual wiki diagram syntax is in the same file as you wiki document. The syntax for the mermaid diagram is surrounded with the notation see below.
::: mermaid
<Mermaid Syntax>
:::
In the preview panel to the right of you text will display the below image. Clicking on Load diagram the mermaid syntax is used to generate the diagram.

Depending on desired output.

A: Flow Chart Example
::: mermaid graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
:::
Generate a picture that looks like the below.

B: Sequence
::: mermaid sequenceDiagram
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
:::
Generate a picture that looks like the below.

C: Gantt Chart
::: mermaid gantt title A Gantt Diagram dateFormat YYYY-MM-DD
section Section
A task :a1, 2014-01-01, 30d
Another task :after a1 , 20d section Another
Task in sec :2014-01-12 , 12d another task : 24d
:::
Generate a picture that looks like the below.


Reference:

https://www.azuredevopslabs.com/labs/azuredevops/wiki/
https://www.azuredevops.tips/wikimermaid-diagrams/



Viewing page 42 of 81
Viewing questions 206 - 210 out of 398 questions


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

AI Tutor AI Tutor 👋 I’m here to help!