AZ400-Q: connect GitHub source to Azure Pipelines

A team hosts source in GitHub but must use Azure Pipelines for its enterprise deployment controls. It wants builds to run on pull requests and main-branch changes. What is required?

  • A) Export the GitHub repository to a spreadsheet each day.
  • B) Configure the Azure Pipeline with the GitHub repository and authorized connection/app, then define PR and branch triggers in the pipeline. ✓
  • C) Grant public anonymous write access to the repository.
  • D) Store the source ZIP as a pipeline variable.

Answer: B. Azure Pipelines can use GitHub as its source provider when the repository integration and authorization are configured; triggers then express the desired events.

Why not the others: Spreadsheets, anonymous write, and variable ZIPs are not source-provider integration.

github · azure-pipelines · ci-trigger