AZ-400 exam dumps

AZ-400 practice question 10 of 306

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

AZ-400 Question 10

Select 2

Your organization uses Azure DevOps for project tracking but stores its source code in GitHub. You want to ensure that when developers commit or create pull requests in GitHub, those changes are automatically linked to the corresponding Azure Boards work items. Which two actions should you perform to achieve this integration?

  1. A

    Install the Azure Boards app from the GitHub Marketplace and connect it to your Azure DevOps organization.

  2. B

    Use the AB# syntax in commit messages or pull request titles to link them to the corresponding work item in Azure Boards.

  3. C

    Create an Azure Pipeline that triggers on every GitHub commit to automatically update work items in Azure Boards.

  4. D

    Configure a YAML pipeline that references your repository and automatically assigns work items to new commits and pull requests.

  5. E

    Configure a GitHub repository-level setting to enforce referencing an Azure Boards work item in each commit.

Show answer and explanation

Correct answers: A, B

Explanation

To integrate GitHub commits and pull requests with Azure DevOps Boards, you must install and configure the Azure Boards GitHub app. Then, developers reference work items by including AB# followed by the work-item ID in their commit messages or PR titles (for example, 'AB#123'). This allows Azure Boards to automatically link source code changes to specific work items according to Microsoft� recommended best practices.

  • A. Correct.

    Installing the Azure Boards app in GitHub is a key step. It enables you to connect your GitHub repository to Azure DevOps Boards so that commits and pull requests can be associated with work items.

  • B. Correct.

    Using the AB# syntax (for example, AB#123) in commit messages or pull request titles is how Azure Boards recognizes which work item to link. This is crucial for automatic linkage.

  • C. Incorrect.

    While creating an Azure Pipeline can be useful for continuous integration and deployment, it is not a required step for simply linking commits and pull requests to Azure Boards work items.

  • D. Incorrect.

    Configuring a YAML pipeline is helpful for building and releasing code, but it does not automatically assign or link work items. Linking is handled by the Azure Boards integration and the AB# syntax.

  • E. Incorrect.

    There is no direct GitHub repository-level setting to enforce referencing Azure Boards work items. Enforcing commit policies in Azure DevOps is possible, but it is not managed solely within GitHub settings.

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