Microsoft certification · Exam AZ-400

Free Microsoft AZ-400 Practice MCQs Page 6

Microsoft Azure DevOps Solutions (beta)

Free AZ 400 practice questions, each with the answer and an explanation. No sign-up needed.

Topic · 129 of 433 questions freeTopic 4: Mix Questions Set
Question 51 Choose 1
You are developing an Azure Pipelines pipeline. You need to configure a check in the pipeline that will query Azure Boards to ensure that there are no active work item issues before the pipeline deploys a build to production. Which type of check should you implement?
Question 52 Choose 1
You plan to share packages that you wrote, tested, validated, and deployed by using Azure Artifacts. You need to release multiple builds of each package by using a single feed. The solution must limit the release of packages that are in development. What should you use?
Question 53 Choose 1
You have an existing project in Azure DevOps. You plan to integrate GitHub as the repository for the project. You need to ensure that Azure Pipelines runs under the Azure Pipelines identity. Which authentication mechanism should you use?
Question 54 Choose 1
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:
  • Two resource groups
  • Four Azure virtual machines in one resource group
  • Two Azure SQL databases in other resource group
You need to recommend a solution to deploy the resources. Solution: Create a main template that has two linked templates, each of which will deploy the resource in its respective group. Does this meet the goal?
Question 55 Choose 1
You have an Azure subscription that contains an Azure pipeline named Pipeline1 and a GitHub repository named Repo1, Repo1 contains Bicep modules. Pipeline1 deploys Azure resources by using the Bicep modules. You need to ensure that all releases comply with Azure Policy before they are deployed to production. What should you do?
Question 56 Choose 1
You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456. 457. and 458. You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done. What should you add to the commit message?
Question 57 Choose 1
Your company is building a mobile app that targets Android devices and OS devices. Your team uses Azure DevOps to manage all work items and release cycles. You need to recommend a solution to perform the following tasks:
  • Collect crash reports for issue analysis
  • Distribute beta releases to your testers.
  • Get user feedback on the functionality of new apps.
What should you include in the recommendation?
Question 58 Choose 3
You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Question 59 Choose 1
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt. You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend reducing the code complexity. Does this meet the goal?
Question 60 Choose 1
You have a project in Azure DevOps.
You create the following YAML template named Template1.yml. steps:
- script: 9pm install
- script: yarn install
- script: 9pm run compile
You create the following pipeline named File1.yml.
parameters:
users steps:

- task: MyTask@1
- script: echo Done
You need to ensure that Template1.yaml runs before File1.yml.
How should you update File1.yml?

Practice Like It's Exam Day

Get exam-ready with a timed AZ 400 Microsoft Azure DevOps Solutions (beta) mock exam designed to match the official exam's question format, question count, and time limit.

Take Microsoft Azure DevOps Solutions (beta) Mock Exam
  • Build Exam Endurance Stay focused and perform confidently under exam conditions.
  • Improve Time Management Practice pacing yourself to finish within the time limit.
  • Fresh Questions Every Attempt Experience randomized questions from our extensive question bank.
  • Unlimited Practice Attempts Retake mock exams and improve your score at your own pace.