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
Which view of an Azure Artifacts feed is the only one packages can be published to?
- @local
- @release
- @prerelease
- 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.
Which statements about upstream sources in Azure Artifacts are true?
- A package installed from an upstream source by a Collaborator or higher is saved to the feed
- The feed searches its own published packages first, then saved packages, then upstream sources in their listed order
- A Feed Reader can trigger saving packages from upstream
- A version that already exists in an enabled upstream can be published freely
- 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.
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.
