Free AZ-400 Exam Braindumps
Designing and Implementing Microsoft DevOps Solutions Questions 15–19 (page: 40)

Updated On: 16-Nov-2026

DRAG DROP (Drag and Drop is not supported)
You are implementing a new project in Azure DevOps.
You need to assess the performance of the project. The solution must identify the following metrics:
-How long it takes to complete a work item
-The percentage of defects found in production
Which DevOps KPI should you review for each metric? To answer, drag the appropriate KPIs to the correct metrics. Each KPI 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: Cycle time
How long it takes to complete a work item
Cycle time measures the time it takes for your team to complete work items once they begin actively working on them.
Lead time measures the total time elapsed from the creation of work items to their completion.
Box 2: Defect Escape Rate
The percentage of defects found in production
Defect Escape Rate: Each software deployment includes the risk of sparking new defects. These issues can be discovered with user acceptance testing but sometimes these errors are found by the end-user. Since errors are the natural part of the development process, the development team should plan to deal with these issues before the development process. Defect escape rate comes into play to deal with such scenarios. It monitors the reality by accepting that issues will arise and they should be discovered as early as possible. The defect escape rate checks how often defects are discovered in the preproduction phase versus during the production phase. This metric alone provides essential insights into the quality of software releases.


Reference:

https://learn.microsoft.com/en-us/azure/devops/report/dashboards/cycle-time-and-lead-time https://www.professional-devops.com/devops-metrics-kpis.html



You are designing a YAML template for use with Azure Pipelines. The template will include the outputfile parameter.
Which two methods can you use to reference the parameter? Each correct answer presents a complete solution.
Note: Each correct selection is worth one point.

  1. ${{parameters.outputfile}}
  2. $(parameters['outputfile'])
  3. $(parameters.outputfile)
  4. $(parameters[outputfile])
  5. ${{parameters['outputfile']}}

Answer(s): A,E

Explanation:

The parameters section in a YAML defines what parameters are available. Parameters are only available at template parsing time. Parameters are expanded just before the pipeline runs so that values surrounded by ${{ }} are replaced with parameter values.


Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/process/runtime-parameters



You have a pipeline named Pipeline1 in Azure Pipelines.
You need to create a service connection to enable Pipeline1 to download a public container image.
Which type of service connection should you create?

  1. a Docker host
  2. a Docker registry
  3. Azure Service Fabric
  4. Azure Kubernetes Service (AKS)

Answer(s): B

Explanation:

Push step in pipeline
The following YAML snippet showcases the usage of Docker registry service connection along with a Docker task to log in and push to a container registry. Instances of Docker registry service connection serve as secure options for storing credentials needed to log in to the container registry before pushing the image. These service connections can be directly referenced in Docker tasks to log in to the registry without needing to add a script task for docker log in.
YAML
- task: Docker@2
displayName: Push image inputs:
containerRegistry: |
$(dockerHub)
repository: $(imageName)
command: push tags: |
test1
test2


Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/containers/push-image?view=azure-devo ps



You have the services shown in the following table.

You manage a project by using Azure Boards.
You need to notify the services of build status changes.
Which services can be notified by using a webhook?

  1. Service1 only
  2. Service2 only
  3. Service1 and Service2

Answer(s): C

Explanation:

Webhooks provide a way to send a JSON representation of an event to any service. All that is required is a public endpoint (HTTP or HTTPS).
Q: Can I send webhooks to non HTTPS endpoints?
A: Yes. However, it's recommended that you only use HTTPS endpoints for your webhooks. Using HTTP means there is the potential for private data being sent unencrypted. This includes any authentication headers in your webhook.


Reference:

https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks



Your team uses Azure Pipelines to deploy applications.
You need to ensure that when a failure occurs during the build or release process, all the team members are notified by using Microsoft Teams. The solution must minimize development effort.
What should you do?

  1. Install the Azure Boards app for Teams and configure a subscription to receive notifications in a channel.
  2. Use an Azure function to connect to the Azure DevOps REST API and notify the team members.
  3. Use Azure Automation to connect to the Azure DevOps REST API and notify the team members.
  4. Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel.

Answer(s): D

Explanation:

Integrate Azure Pipelines with Microsoft Teams
You can use the Azure Pipelines app for Microsoft Teams to monitor pipeline events. You can set up and get notifications in your Teams channel for pipeline builds, releases, and approvals. Approvers can also approve releases from within the Teams channel.
The Azure Pipelines app for Microsoft Teams lets you monitor events for your pipelines. You can set up and get notifications in your Teams channel for releases, pending approvals, completed builds, and so on. You can also approve releases from within your Teams channel.


Reference:

https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams



Viewing page 40 of 81
Viewing questions 196 - 200 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!