You have a project in Azure DevOps named Project1 that references an Azure Artifacts feed named Feed1. You have a package named Package1 that has the versions shown in the following table.
You need to perform a build of Project1.
Which version of Package1 will be used?
A. 1.0.3
B. 1.4.0
C. 2.0.0
D. 2.3.1
You use Azure Pipelines to build and test code projects.
You notice an increase in cycle times.
You need to identify whether agent pool exhaustion is causing the issue.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Query the PipelineRun/PipelineRunsendpoint.
B. Query the TaskAgentPoolSizeSnapshotsendpoint.
C. View the Pipeline duration report.
D. View the pool consumption report at the organization level.
You have an app named App1 that you release by using Azure Pipelines. App1 has the versions shown in the following table.
You complete a code change to fix a bug that was introduced in version 3.4.3. Which version number should you assign to the release?
A. 3.4.4
B. 3.4.8
C. 3.5.0
D. 4.0.1
You are automating the testing process for your company. You need to automate UI testing of a web application. Which framework should you use?
A. JaCoco
B. Playwright
C. Xamarin.UITest
D. Microsoft.CodeAnalysis
You have an Azure web app that is deployed by using Azure Pipelines.
You need to ensure that when a new version of the app is deployed to production, you can roll back to the previous version. The solution must meet the following requirements:
1.
Minimize downtime during the deployment.
2.
Minimize the time it takes for the rollback.
What should you use?
A. a single web app and two deployment slots
B. a single web app and two deployment pipelines
C. two web apps and an Azure Standard Load Balancer
D. two web apps and an Azure Traffic Manager instance
You have an Azure subscription that contains the resources shown in the following table.
DepPipeline1 and ADFPipeline1 use a single credential that is stored in Vault1. You need to configure ADFPipeline1 to retrieve the credential from Vault1. Which type of activity should you use?
A. Lookup
B. Get Metadata
C. Сoрy
D. Web
You use Azure Repos to manage source code and Azure Pipelines to implement continuous integration and continuous deployment (CI/CD).
You need to ensure that all comments on pull requests are resolved before the pull requests are included in a build. The solution must minimize administrative effort.
What should you include in the solution?
A. a custom action
B. a post-deployment gate
C. a branch policy
D. a pre-deployment gate
You plan to create an image that will contain a .NET Core application.
You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)
You need to ensure that the image is as small as possible when the image is built. Which line should you modify in the file?
A. 1
B. 3
C. 4
D. 7
You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named App1.
You have an agent pool named Pool1 that contains a Windows Server 2022-based self-hosted agent. Pipe1 uses Pool1.
You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2.
App1 and App2 have conflicting dependencies.
You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs.
What should you do?
A. Add another self-hosted agent.
B. Add a Docker Compose task to the build pipelines.
C. Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 9.
D. Create two container jobs.
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?
A. sprint burndown
B. velocity
C. lead time
D. cycle time
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AZ-400 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.