AZ-400 Question 11
Select 3Your 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.)
- A
Install the Azure Boards app in the relevant GitHub organization to grant access to the repository.
- B
Use the 'AB#
' syntax in commit messages or pull request descriptions to link them to Azure Boards work items. - C
Enable GitHub integration in Azure DevOps Project Settings and connect to the desired GitHub repository.
- D
Instruct developers to create a local Git token to push changes directly to Azure Boards.
- 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#
- 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.