CertLumen

Microsoft DevOps Engineer Expert (AZ-400) · Section 3 · 53% of the exam

Recommend package management tools including GitHub Packages and Azure Artifacts

One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Design and implement build and release pipelines”. Here is what it covers, the points to remember and a question to try.

What it covers

Which package manager to choose (Azure Artifacts or GitHub Packages), how feeds, views and upstream sources keep dependencies safe and promotable, and how SemVer, CalVer and build numbers give every package and pipeline artifact a traceable version.

Points to remember

  • Azure Artifacts feed = NuGet, npm, Maven, Gradle, Python, Cargo and Universal Packages; 2 GiB free per organization.
  • Upstream sources save a copy of each public package into the feed the first time it is requested.
  • Views @Local, @Prerelease and @Release represent quality; promotion is one-way and promoted versions escape retention.
  • Allow externally-sourced versions is off by default and protects against dependency confusion; Feed Owner only.
  • Roles: Reader, Collaborator (saves from upstream), Feed Publisher/Contributor (publish, promote), Owner.

Try a question

A company needs nightly builds to restore only vetted packages, to keep working when nuget.org is down, and to be protected from same-name public packages. Developers publish internal libraries to the same service. Which design meets all three needs?

  1. AOne feed with a nuget.org upstream, restores from @Release, external versions left blocked
  2. BTwo feeds, one internal and one public, both consumed from the @Local view
  3. CA public feed in a public project with upstreams disabled
  4. DBuilds restore directly from nuget.org with a package cache kept on each agent
Show the answer

A. Combine upstream sources (resilience), views (quality gating) and the external-versions default (supply-chain safety). Builds subscribe to the @Release view URL.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Packages, feeds and versioning teaches this objective (about 45 minutes), and 26 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 86 objectives · Next objective →