AZ-400 exam dumps

AZ-400 practice question 11 of 306

Designing and Implementing Microsoft DevOps Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-400 Question 11

Select 3

Your DevOps team uses GitHub to store source code and Azure Boards to manage work items. They want to automatically link GitHub commits and pull requests to corresponding work items in Azure Boards, ensuring that work items are updated � and eventually closed � when the code is merged. Which of the following steps must you take to establish and maintain this integration in a new environment? (Choose three.)

  1. A

    Install the Azure Boards app in the relevant GitHub organization to grant access to the repository.

  2. B

    Use the 'AB#' syntax in commit messages or pull request descriptions to link them to Azure Boards work items.

  3. C

    Enable GitHub integration in Azure DevOps Project Settings and connect to the desired GitHub repository.

  4. D

    Instruct developers to create a local Git token to push changes directly to Azure Boards.

  5. E

    Create an Azure Repos repository and import the GitHub repository to enable linking.

Show answer and explanation

Correct answers: A, B, C

Explanation

To properly integrate GitHub with Azure Boards, you must install the Azure Boards GitHub app, enable GitHub integration from Azure DevOps Project Settings, and use the 'AB#' syntax in commits and pull requests. This process allows work items in Azure Boards to automatically update as developers commit and merge changes in the associated GitHub repository. For more information, refer to the official Microsoft documentation on connecting GitHub repositories to Azure Boards.

  • A. Correct.

    Option 1 is correct. Installing the Azure Boards app in the GitHub organization allows Azure Boards and GitHub to exchange information about commits, pull requests, and work items. Without this app, the two services cannot communicate effectively.

  • B. Correct.

    Option 2 is correct. The 'AB#' syntax in a commit message or pull request description is the standard way to reference and update Azure Boards work items from GitHub commits and pull requests.

  • C. Correct.

    Option 3 is correct. In Azure DevOps Project Settings, you must enable the connection to the GitHub repository so that Azure Boards knows which repository to track for incoming commits and pull requests.

  • D. Incorrect.

    Option 4 is incorrect. Developers do not need to create a local Git token specifically for linking commits to Azure Boards. The linking mechanism relies on the GitHub app and Azure DevOps project settings rather than individual local tokens.

  • E. Incorrect.

    Option 5 is incorrect. You do not have to create a new Azure Repos repository. Direct integration is supported between GitHub and Azure Boards without migrating your code to Azure Repos.

Timed practice exam

Take a AZ-400 practice test under exam conditions

70 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam