Drag steps to the numbered slots on the right, or tap a step then tap a slot.
AZ-400 Implement an instrumentation strategy Practice Question
Drag and drop the steps to configure Azure DevOps artifact feeds for NuGet packages into the correct order.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Step 1: Create a new feed, Step 2: Configure upstream sources, Step 3: Set feed permissions, Step 4: Publish NuGet packages, Step 5: Consume packages from feed
Feed setup starts with creation, upstream sources, permissions, publishing, and consumption.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Step 1: Create a new feed, Step 2: Configure upstream sources, Step 3: Set feed permissions, Step 4: Publish NuGet packages, Step 5: Consume packages from feed
Why this is correct
This is the correct order because you must first create the feed, then add upstream sources to pull packages from external sources, set permissions to control who can access and contribute, then publish your own packages, and finally consume them.
- ✗
Step 1: Create a new feed, Step 2: Set feed permissions, Step 3: Configure upstream sources, Step 4: Publish NuGet packages, Step 5: Consume packages from feed
Why it's wrong here
Configuring upstream sources after feed permissions is incorrect because upstream sources are a core feed-level setting that affects how all packages are resolved and cached. If you lock down permissions first, you may inadvertently block the account or build service principal from adding or modifying upstream sources, since that action requires feed management rights. Upstream sources should be set immediately after feed creation so that any subsequent publish or restore operations can automatically save dependencies from external sources.
- ✗
Step 1: Create a new feed, Step 2: Publish NuGet packages, Step 3: Configure upstream sources, Step 4: Set feed permissions, Step 5: Consume packages from feed
Why it's wrong here
Publishing NuGet packages before configuring upstream sources defeats the purpose of upstream caching, because during the publish operation the feed cannot yet see nuget.org or other upstream feeds to save missing dependencies. Additionally, setting feed permissions after publishing means you have no access control over who pushed packages beforehand — the feed is still using its default permissions, which may allow any project contributor to publish. Permissions must be established prior to any publishing to enforce a trusted contributor set.
- ✗
Step 1: Create a new feed, Step 2: Configure upstream sources, Step 3: Publish NuGet packages, Step 4: Set feed permissions, Step 5: Consume packages from feed
Why it's wrong here
Setting feed permissions after packages have already been published exposes your feed to unauthorized or accidental pushes, because Azure Artifacts' default permissions grant contribute rights to every project contributor. By the time you restrict permissions, malicious or incorrect packages may already be present, and you cannot retroactively prevent them from having been published. The correct order places permissions before publishing but after upstream sources are configured, ensuring the feed’s access model is enforced from the first push.
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
Azure DevOps
Azure DevOps is a Microsoft service that provides development tools for planning, building, testing, and deploying software applications using automated pipelines and collaboration features.
Key term
Artifact
An artifact is any file or package produced during the software development process that is used to deploy, test, or run an application.
About these practice questions
Courseiva writes every AZ-400 question from scratch — 823 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.