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 productionWhich 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:
Answer(s): A
Box 1: Cycle timeHow long it takes to complete a work itemCycle 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 RateThe percentage of defects found in productionDefect 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.
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.
Answer(s): A,E
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.
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?
Answer(s): B
Push step in pipelineThe 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@2displayName: Push image inputs:containerRegistry: |$(dockerHub)repository: $(imageName)command: push tags: |test1test2
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?
Answer(s): C
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.
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?
Answer(s): D
Integrate Azure Pipelines with Microsoft TeamsYou 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.
https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams
Post your Comments and Discuss Microsoft AZ-400 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AZ-400 content, but please register or login to continue.