Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your team uses Azure DevOps Services for all repositories and pipelines. You need a hosted solution to store private npm and NuGet packages. Developers must be able to:
cache public packages from npmjs.com and nuget.org so builds still succeed if those services are offline,
apply different permissions to distinct internal teams at the individual package level,
avoid operating any additional infrastructure. Which approach should you recommend?
Push all internal packages as OCI artifacts to Azure Container Registry and configure builds to restore dependencies from the registry.
Create a single Azure Artifacts feed, enable upstream sources to npmjs.com and nuget.org, and publish all internal packages to that feed.
Enable GitHub Packages for each repository and publish internal packages there while consuming public packages directly from their original registries.
Deploy an on-premises Artifacts proxy server that periodically synchronizes with GitHub Packages and external registries.
Azure Artifacts provides hosted feeds that support npm and NuGet. An upstream source can be configured for npmjs.com and nuget.org; the first restore caches the external package inside the feed so future restores succeed even if the public registry is unavailable. Feeds offer granular security where permissions can be set per package or per view. GitHub Packages can host packages but cannot proxy and cache upstream registries, Azure Container Registry is focused on container images, and deploying an on-premises proxy contradicts the requirement to avoid extra infrastructure.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Azure Artifacts feeds?
Open an interactive chat with Bash
How do upstream sources work in Azure Artifacts?
Open an interactive chat with Bash
Why is Azure Artifacts preferred over alternatives like GitHub Packages or Azure Container Registry?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .