Microsoft AZ-400: Package Management and Artifact Management — Study Guide

Part of the Microsoft DevOps Engineer Expert AZ-400 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

Package management is the backbone of reproducible builds, reliable deployments, and secure supply chains in Azure DevOps. Azure Artifacts centralizes package storage and governance across ecosystems—NuGet, npm, Maven, Gradle, and Universal packages—while enabling upstream caching from public registries and fine-grained controls for promotion, retention, and permissions. Combined with semantic versioning automation and security/compliance tooling, it lets you standardize how internal and external dependencies are produced, discovered, approved, and consumed at scale.

Azure Artifacts Core Concepts

A feed is the unit of storage and access control for packages. Teams typically organize feeds by product, platform, or trust boundary (e.g., one feed for all public OSS dependencies via upstream, one for shared internal libraries, and one per product). Feeds support multiple package types, each with its own client tooling.

Views implement a gated promotion model within a single feed:

Upstream sources connect a feed to public registries (NuGet.org, npmjs.com, Maven Central). When enabled, developers resolve public dependencies through your feed. Azure Artifacts transparently proxies and caches exact versions that are used, improving reliability, enabling air-gapped scenarios, and allowing you to later “freeze” supply by disabling new upstream downloads. You can scope which upstreams are enabled per feed to meet policy.

Retention is enforced to reduce storage costs while preserving what matters. Define policies to keep the latest N versions per package, only retain versions promoted to release, and automatically delete old prereleases. Pin specific versions to exempt them from cleanup (e.g., those embedded in a long-lived product branch). Align retention windows to audit and rollback requirements to balance traceability against storage cost.

Feed permissions follow least-privilege:

Managing Package Ecosystems

NuGet (dotnet/C#)

npm (JavaScript/TypeScript)

Maven and Gradle (Java/Kotlin)

Universal packages (binary blobs, scripts, models)

Security and Compliance Controls

Vulnerability scanning must be enforced at commit and build time. Integrate tools that identify known-vulnerable dependencies and provide upgrade guidance. In many Azure DevOps environments, SonarQube is used as part of the quality gate strategy to flag issues, including rules that surface dependency risk; you can complement it with dedicated SCA tools (e.g., Snyk, Mend/WhiteSource, or Black Duck) for more exhaustive CVE coverage across ecosystems. For .NET, dotnet list package –vulnerable and for npm, npm audit can provide additional signals; for Java, OWASP Dependency-Check can be added as a build step.

License compliance is enforced by scanning SBOMs or manifests against an approved license allowlist. Black Duck is commonly added to Azure Pipelines to block builds when restricted licenses are detected. Store scan reports as pipeline artifacts and attach them to releases for auditability.

Allowed/blocked packages are best implemented as policy rather than ad hoc exceptions:

Audit and governance benefit from centralized feeds with upstream caching: you get a single choke point for package ingress, immutable histories, and consistent provenance for SBOM generation.

Versioning Automation and Retention Economics

Semantic versioning is easiest to maintain with automation:

Retention and storage cost management require proactive policy:

Upstream sources specifics:

### Practical Problem Scenario

Adobe needs to standardize package governance across multiple clouds and languages while reducing outages from public registry instability and enforcing license policies. Teams publish internal NuGet, npm, and Maven artifacts and share large cross-language CLI tools.

  1. Establish centralized feeds and upstreams
  1. Configure client consumption through views
  1. Implement publishing with semantic versioning
  1. Secure authenticated feeds and developer experience
  1. Enforce vulnerability and license policy
  1. Control ingress and freeze when needed
  1. Apply retention and pinning
  1. Delegate least-privilege access
  1. Universal packages for cross-language tools
  1. Measure and iterate

Monitoring · All domains · Agile Planning and Work Management

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product