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 271:

    You use GitHub for source control and Azure Boards for project management. GitHub and Azure Boards are integrated.

    You plan to create a pull request in GitHub.

    You need to automatically link the request to an existing Azure Boards work item by using the text of AB#.

    To which two elements can you add the text? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. milestone

    B. label

    C. title

    D. comment

    E. description

  • Question 272:

    You have a project in Azure DevOps named Project1 that contains a Kanban board named Board1.

    You create a Microsoft Teams channel and add the Azure Boards app to the channel.

    You need to ensure that users can create work items in Board1 from Microsoft Teams.

    Which command should you run?

    A. @azure boards subscriptions

    B. @azure boards create

    C. @azure boards sign in

    D. @azure boards link

  • Question 273:

    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.

    A. ${{parameters.outputfile}}

    B. $(parameters['outputfile'])

    C. $(parameters.outputfile)

    D. $(parameters[outputfile])

    E. ${{parameters['outputfile']}}

  • Question 274:

    You have a GitHub Enterprise account.

    You need to enable push protection for secret scanning of the account repositories.

    What should you do first?

    A. Purchase a GitHub Advanced Security license.

    B. Purchase Premium Plus support.

    C. Enforce multi-factor authentication (MFA).

    D. Create an access policy for secrets.

  • Question 275:

    You have an Azure Automation account that contains a runbook. The runbook is used to configure the application infrastructure of an Azure subscription.

    You have a project in Azure DevOps named Project1. Project1 contains a repository that stores code for the runbook.

    You need to ensure that every committed change to the code will update automatically and publish the runbook to Azure Automation.

    What should you configure?

    A. the Service hooks settings for Project1

    B. the Connections settings for the Automation account

    C. the Source control settings for the Automation account

    D. the Service connections settings for Project1

  • Question 276:

    You use Git for source control.

    You enable GitHub code scanning.

    You raise a pull request from a non-default branch. In the code scanning output, you receive the following error message: “Analysis not found.”

    You need to ensure that the code scanning completes successfully for the pull request.

    Which two actions should you perform? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. Add the name of the default branch to the on: push specification in the code scanning workflow.

    B. Add the name of the non-default branch to the on:push specification in the code scanning workflow.

    C. Delete the pull request, and then raise the request again from the default branch.

    D. Update the code in the pull request.

    E. Add a new workflow for code scanning.

  • Question 277:

    You have a GitHub repository that contains multiple versions of an Azure Pipelines template.

    You plan to deploy multiple pipelines that will use a template stored in the repository.

    You need to ensure that you use a fixed version of the template.

    What should you use to reference which version of the template repository to use?

    A. the serial

    B. the SHA-based hashes

    C. the runner

    D. the branch

  • Question 278:

    You plan to create a GitHub workflow that will use GitHub Actions. The actions will require a 256-KB secret.

    You need to recommend a solution to store and encrypt the secret. The secret value must be accessible only to the workflow. The solution must minimize administrative effort

    What should you recommend?

    A. Store the secret in the organization-level GitHub secrets.

    B. Store the secret in the repository-level GitHub secrets.

    C. Encrypt the secret value and store the value in the repository. Store the decryption key in the repository-level GitHub secrets.

    D. Encrypt the secret value and store the value in the repository. Store the decryption key in the organization-level GitHub secrets.

  • Question 279:

    You have an Azure subscription linked to an Azure Active Directory Premium Plan 1 tenant.

    A security review indicates that too many users have privileged access to resources.

    You need to deploy a privileged access management solution that meets the following requirements:

    Enforces time limits on the use of privileged access Requires approval to activate privileged access Minimizes costs

    What should you do first?

    A. Configure notifications when privileged roles are activated.

    B. Configure alerts for the activation of privileged roles.

    C. Enforce Azure Multi-Factor Authentication (MFA) for role activation.

    D. Upgrade the license of the Azure Active Directory (Azure AD) tenant.

  • Question 280:

    You have an Azure subscription that contains 50 virtual machines.

    You plan to manage the configuration of the virtual machines by using Azure Automation State Configuration.

    You need to create the Desired State Configuration (DSC) configuration files.

    How should you structure the code blocks?

    A. Node > Configuration > Resource

    B. Configuration > Resource > Node

    C. Resource > Configuration > Node

    D. Configuration > Node > Resource

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.