Azure DevOps - Complete Interview Prep Notes
(Handwritten Style with Diagrams & YAML Examples)
■ What is Azure DevOps?
- Azure DevOps is a suite of tools from Microsoft to support the full DevOps lifecycle.
- It includes services like Repos, Pipelines, Boards, Test Plans, and Artifacts.
- Offers end-to-end DevOps capabilities: plan, develop, test, deliver, and monitor.
- Cloud-based (azure.com) or on-premises (Azure DevOps Server).
■ Azure Repos (Git)
- Provides Git repositories for version control.
- Key Features:
• Pull Requests: Code reviews before merging.
• Branch Policies: Enforce standards (e.g., reviewers required).
• Commit History, Diffs, and Tags.
- Git Workflow: Clone > Branch > Commit > Push > Pull Request > Review > Merge.
■ Azure Pipelines (CI/CD)
- Automates building, testing, and deploying code.
- Supports multi-stage YAML and classic pipelines.
- Key Concepts:
• CI = Continuous Integration: build/test on each commit.
• CD = Continuous Delivery/Deployment: release to environments.
- Integration with GitHub, DockerHub, Kubernetes, etc.
- Uses Microsoft-hosted or self-hosted agents.
■ YAML Pipeline Example
trigger:
branches:
include:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- task: UseNode@1
inputs:
version: '18.x'
- script: npm install
displayName: 'Install dependencies'
- script: npm run build
displayName: 'Build project'
■ Azure Boards
- Work tracking system with support for Agile, Scrum, and Kanban.
- Hierarchy: Epics > Features > User Stories > Tasks.
- Backlogs, Sprint Planning, Burndown Charts.
- Boards allow tracking progress and assigning work.
- Supports custom workflows, states, and fields.
■ Azure Test Plans
- Manual and exploratory testing toolkit.
- Supports test suites, test cases, and parameters.
- Run tests manually or automate via pipelines.
- Collect rich data during testing (screenshots, videos).
- Integration with pipelines for test reporting.
■ Azure Artifacts
- Package management service (NuGet, npm, Maven, Python).
- Host your own private package feeds.
- Consume and publish artifacts in pipelines.
- Controls access and versioning.
- Retention policies to manage storage.
■ Summary: Azure DevOps Interview Must-Knows
- Know what each Azure DevOps service does.
- Understand CI/CD flow and write basic YAML pipelines.
- Be able to explain branching strategies and PRs.
- Understand Boards hierarchy and agile concepts.
- Talk confidently about test automation & packaging.
- Practice writing and reviewing real YAML pipeline files.
Good luck! You've got this ■ — Azure DevOps mastery unlocked.