AZ-400 ยท Pipeline foundations
GitHub Actions vs Azure Pipelines
Feature and licensing comparison, when to pick each, using Azure Pipelines with GitHub repositories (GitHub App, service connection, status checks), migrating between them.
Key points
- Both are YAML-based CI/CD engines.
- GitHub Actions: workflows in .github/workflows, triggered by GitHub events.
- Azure Pipelines: builds GitHub, Azure Repos and other repos; Azure Pipelines GitHub App recommended (GitHub Checks).
- Free Microsoft-hosted private tier: one parallel job, 60 minutes per run, 1,800 minutes per month.
- Migration: pool to runs-on, task to uses, script to run, dependsOn to needs.
Source: https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops
Practice questions
For a private Azure DevOps project on the free Microsoft-hosted tier, what is the monthly time limit?
- 900 minutes per month
- 1,800 minutes per month
- 3,600 minutes per month
- No monthly limit at all
Show answer
Answer: B. 1,800 minutes per month
The free tier gives one job of up to 60 minutes per run and 1,800 minutes (30 hours) per month. Paid capacity removes the monthly cap.
Which statements about building a GitHub repository with Azure Pipelines are true?
- The GitHub App is the recommended authentication type for CI
- Status updates are posted under the Azure Pipelines identity with the App
- GitHub Checks need the App; OAuth does not provide them
- The repository must first be imported into Azure Repos
- The pipeline YAML file must be stored in Azure Repos
Show answer
Answer: A. The GitHub App is the recommended authentication type for CI, B. Status updates are posted under the Azure Pipelines identity with the App, C. GitHub Checks need the App; OAuth does not provide them
The GitHub App is recommended, runs as the Azure Pipelines identity and enables Checks. The repo does not have to move to Azure Repos, and the YAML file stays in the GitHub repo.
To use Azure Pipelines for a GitHub repository, you must migrate the repository to Azure Repos.
Show answer
Answer: False
False. Azure Pipelines connects to GitHub repositories directly through the GitHub App, OAuth or a token; no migration is needed.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
