ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 253 - AZ-400 discussion

Report
Export

Your development team is building a new web solution by using the Microsoft Visual Studio integrated development environment (IDE). You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically. Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
Publish the package to a feed.
Answers
A.
Publish the package to a feed.
B.
Create a new feed in Azure Artifacts.
Answers
B.
Create a new feed in Azure Artifacts.
C.
Upload a package to a Get repository.
Answers
C.
Upload a package to a Get repository.
D.
Add the package URL to the Environment settings in Visual Studio.
Answers
D.
Add the package URL to the Environment settings in Visual Studio.
E.
Add the package URL to the NuGet Package Manager settings in Visual Studio.
Answers
E.
Add the package URL to the NuGet Package Manager settings in Visual Studio.
F.
Create a Git repository in Azure Repos.
Answers
F.
Create a Git repository in Azure Repos.
Suggested answer: A, B, E

Explanation:

B: By using your custom NuGet package feed within your Azure DevOps (previously VSTS) instance, you'll be able to distribute your packages within your organization with ease. Start by creating a new feed. A: We can publish, pack and push the built project to our NuGet feed.

E: Consume your private NuGet Feed

Go back to the Packages area in Azure DevOps, select your feed and hit "Connect to feed". You'll see some instructions for your feed, but it's fairly simple to set up. Just copy your package source URL, go to Visual Studio, open the NuGet Package Manager, go to its settings and add a new source. Choose a fancy name, insert the source URL. Done. Search for your package in the NuGet Package Manager and it should appear there, ready for installation. Make sure to select the appropriate feed (or just all feeds) from the top right select box.

Reference: https://medium.com/medialesson/get-started-with-private-nuget-feeds-in-azure-devops-8c7b5f022a68

asked 02/10/2024
Chris Houck
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first