Exam Details

  • Exam Code
    :AZ-400
  • Exam Name
    :Designing and Implementing Microsoft DevOps Solutions
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :614 Q&As
  • Last Updated
    :Apr 10, 2025

Microsoft Microsoft Certifications AZ-400 Questions & Answers

  • Question 471:

    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 integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.

    You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.

    Solution: You create an email subscription to an Azure DevOps notification.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 472:

    Your company uses cloud-hosted Jenkins for builds.

    You need to ensure that Jenkins can retrieve source code from Azure Repos.

    Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

    A. Create a webhook in Jenkins.

    B. Add the Team Foundation Server (TFS) plug-in to Jenkins.

    C. Add a personal access token to your Jenkins account.

    D. Create a personal access token (PAT) in your Azure DevOps account.

    E. Create a service hook in Azure DevOps.

  • Question 473:

    Your company uses a Git repository in Azure Repos to manage the source code of a web application. The master branch is protected from direct updates. Developers work on new features in the topic branches.

    Because of the high volume of requested features, it is difficult to follow the history of the changes to the master branch.

    You need to enforce a pull request merge strategy. The strategy must meet the following requirements:

    1.

    Consolidate commit histories.

    2.

    Merge the changes into a single commit.

    Which merge strategy should you use in the branch policy?

    A. squash merge

    B. fast-forward merge

    C. Git fetch

    D. no-fast-forward merge

  • Question 474:

    You have a branch policy in a project in Azure DevOps. The policy requires that code always builds successfully.

    You need to ensure that a specific user can always merge changes to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.

    What should you do?

    A. Add the user to the Build Administrators group.

    B. Add the user to the Project Administrators group.

    C. From the Security settings of the repository, modify the access control for the user.

    D. From the Security settings of the branch, modify the access control for the user.

  • Question 475:

    Your company is building a new solution in Java.

    The company currently uses a SonarQube server to analyze the code of .NET solutions.

    You need to analyze and monitor the code quality of the Java solution.

    Which task types should you add to the build pipeline?

    A. Grunt

    B. Chef

    C. Maven

    D. Gulp

  • Question 476:

    Your company builds a multi-tier web application.

    You use Azure DevOps and host the production application on Azure virtual machines.

    Your team prepares an Azure Resource Manager template of the virtual machine that you will use to test new features.

    You need to create a staging environment in Azure that meets the following requirements:

    1.

    Minimizes the cost of Azure hosting

    2.

    Provisions the virtual machines automatically

    3.

    Uses the custom Azure Resource Manager template to provision the virtual machines What should you do?

    A. In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.

    B. In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.

    C. From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.

    D. In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.

  • Question 477:

    Your company develops a client banking application that processes a large volume of data.

    Code quality is an ongoing issue for the company. Recently, the code quality has deteriorated because of an increase in time pressure on the development team.

    You need to implement static code analysis.

    During which phase should you use static code analysis?

    A. integration testing

    B. staging

    C. production release

    D. build

  • Question 478:

    Your company is building a new solution in Java.

    The company currently uses a SonarQube server to analyze the code of .NET solutions.

    You need to analyze and monitor the code quality of the Java solution.

    Which task types should you add to the build pipeline?

    A. Chef

    B. Gradle

    C. Octopus

    D. Gulp

  • Question 479:

    You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.

    You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.

    What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. vs2017-win2016

    B. ubuntu-16.04

    C. win1803

    D. macOS-10.13

    E. vs.2015-win2012r2

  • Question 480:

    Your company has a project in Azure DevOps.

    You need to ensure that when there are multiple builds pending deployment, only the most recent build is deployed.

    What should you use?

    A. deployment conditions

    B. deployment queue settings

    C. release gates

    D. pull request triggers

Tips on How to Prepare for the Exams

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.