Quick Notes166 words

Optimising a pipeline — quick notes

Optimising pipelines — quick notes

LeverEffect
CachingImmutable cross-run accelerator; exact key plus restore-key fallback
ParallelismIndependent jobs, bounded by dependencies, agents, and capacity
Path filtersSkip the build entirely
Matrix + maxParallelMany legs, throttled
ArtifactsRequired inter-job outputs; absence is a failure
Agent modelClean/stateless isolation versus deliberate warm/stateful reuse
  • Baseline pipeline/task duration and queue pressure; change one lever; compare duration, reliability, and cost.
  • Cache key: stable tool/OS segments + lockfile path; restoreKeys may provide a partial hit.
  • Path include/exclude filters prevent irrelevant CI runs.
  • Private projects: monthly-limited hosted free tier or paid parallel-job capacity; self-hosted also adds infrastructure cost.
  • Microsoft-hosted = clean VM; Managed Pool stateless = fresh agent; stateful/self-hosted reuse adds security/maintenance trade-offs.

Sources: https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/az-400 · https://learn.microsoft.com/en-us/azure/devops/report/powerbi/sample-pipelines-duration · https://learn.microsoft.com/en-us/azure/devops/report/powerbi/sample-pipelines-task-duration-trend · https://learn.microsoft.com/en-us/azure/devops/pipelines/release/caching · https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/trigger · https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases · https://learn.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs · https://learn.microsoft.com/en-us/azure/devops/managed-devops-pools/manage-costs · https://learn.microsoft.com/en-us/azure/devops/managed-devops-pools/configure-scaling · https://learn.microsoft.com/en-us/azure/devops/pipelines/security/misc

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free