Bitzu

AZ-400 ยท Package management

Feeds, views and upstream sources

Azure Artifacts feeds, scopes (project/organization), views (@local, @prerelease, @release), upstream sources, package promotion, retention policies for feeds.

Key points

  • A feed stores packages; everything published or saved from upstream lands in the default @local view.
  • Views such as @prerelease and @release: read-only subsets; promote a version after validation.
  • Consumers of a view see only vetted versions.
  • Upstream sources: serve nuget.org or npmjs.com packages and save a copy on first install.
  • Promotion cannot be undone; promoted versions are exempt from retention.

Source: https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/views?view=azure-devops

Practice questions

Single choice

Which view of an Azure Artifacts feed is the only one packages can be published to?

  1. @local
  2. @release
  3. @prerelease
  4. Any view you rename
Show answer

Answer: A. @local

Publishing and restoring work against the default @local view; the other views are read-only and filled by promotion.

Select all that apply

Which statements about upstream sources in Azure Artifacts are true?

  1. A package installed from an upstream source by a Collaborator or higher is saved to the feed
  2. The feed searches its own published packages first, then saved packages, then upstream sources in their listed order
  3. A Feed Reader can trigger saving packages from upstream
  4. A version that already exists in an enabled upstream can be published freely
  5. Upstream sources are limited to other Azure Artifacts feeds
Show answer

Answer: A. A package installed from an upstream source by a Collaborator or higher is saved to the feed, B. The feed searches its own published packages first, then saved packages, then upstream sources in their listed order

Saving needs the Collaborator role, and the fixed search order gives deterministic restores. Readers cannot save, publishing an existing upstream version is blocked, and public registries like nuget.org are valid upstreams.

True or false

You can publish a package directly into the @release view of a feed.

Show answer

Answer: False

Packages are published to the feed (visible in @local) and then promoted to other views.

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.

Download on the App StoreGet it on Google Play

More AZ-400 topics in this module