Your development team uses npm packages hosted on public registries. Security policies now require that all external dependencies are scanned and cached internally to prevent build failures if the public registry goes down or a package is deleted. Which feature of Azure Artifacts should you implement?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Upstream sources

Upstream sources allow you to use a single feed to store both your internal packages and external packages from public registries (like npmjs.com, NuGet.org). When a developer requ...

๐Ÿ“‹Part of Microsoft Certified: DevOps Engineer Expert (AZ-400) ยท Azure Certification Practice
Real Exam ScenarioAzure Artifacts

Your development team uses npm packages hosted on public registries. Security policies now require that all external dependencies are scanned and cached internally to prevent build failures if the public registry goes down or a package is deleted. Which feature of Azure Artifacts should you implement?

โœ“ Correct Answer & ExplanationAzure Artifacts

Correct Answer

Upstream sources

Why This Answer Is Correct

Upstream sources allow you to use a single feed to store both your internal packages and external packages from public registries (like npmjs.com, NuGet.org). When a developer requests an external package, Azure Artifacts pulls it, caches it internally, and serves it. If the public package is later deleted, the cached copy remains available.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Artifacts โ€” a core concept tested in Microsoft Certified: DevOps Engineer Expert (AZ-400). Understanding Azure Artifacts is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.