CertLumen

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

Design and implement a dependency versioning strategy for code assets and packages, including semantic versioning (SemVer) and date-based (CalVer)

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 product is shipped on a fixed six-month cadence, each release is supported for 18 months, and customers mainly need to know how recent a build is. Which versioning scheme communicates this best?

  1. AThe build ID from the pipeline
  2. BA random GUID
  3. CSemVer with MAJOR bumped each release
  4. DCalVer such as 26.11
Show the answer

D. CalVer is based on the release date and fits scheduled products and platforms. SemVer is better for libraries where consumers need compatibility signals.

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 →