exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 20 discussion

Actual exam question from Microsoft's AZ-400
Question #: 20
Topic #: 5
[All AZ-400 Questions]

You use Azure Artifacts to host NuGet packages that you create.
You need to make one of the packages available to anonymous users outside your organization. The solution must minimize the number of publication points.
What should you do?

  • A. Change the feed URL of the package
  • B. Create a new feed for the package
  • C. Promote the package to a release view.
  • D. Publish the package to a public NuGet repository.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TosO
Highly Voted 5 years, 4 months ago
The only possible correct answer is: Publish the package to a public NuGet repository. This is because to use the public feed feature in Azure DevOps, the project itself must be public: "Public feeds are project-scoped feeds that live inside a public project. You cannot convert an existing organization-scoped feed into a project-scoped feed or a public feed." https://docs.microsoft.com/en-us/azure/devops/artifacts/tutorials/share-packages-publicly?view=azure-devops
upvoted 66 times
Marang73
4 years, 9 months ago
Nothing is mentioned in the question that the project is private.
upvoted 8 times
prashantjoge
3 years, 4 months ago
You need to make one of the packages available to anonymous users outside your organization.
upvoted 4 times
...
...
rdemontis
3 years, 4 months ago
totally agree with you
upvoted 1 times
rdemontis
3 years, 4 months ago
On second thought perhaps the answer provided is correct. In fact, we don't have anything to be sure that the project is private. It could easily be public and use a Feed with scope = organization. In such a case it would be enough to create a new public feed to solve the problem and satisfy the requirement "The solution must minimize the number of publication points".
upvoted 2 times
...
...
prashantjoge
3 years, 4 months ago
This is correct. If a project is private the its feed is private. If a project is public, the feed also becomes public. Questions says only one package needs to be made public
upvoted 2 times
...
sanhoo
4 years ago
Examtopic's answer is correct. refer the link shared by droy89's
upvoted 3 times
...
...
webforce08
Highly Voted 5 years, 8 months ago
Correct
upvoted 20 times
...
Kluk_Kluk
Most Recent 3 months ago
Selected Answer: B
✅ B. Create a new feed for the package
upvoted 1 times
...
Kluk_Kluk
3 months ago
Selected Answer: D
Azure Artifacts does not support anonymous access to feeds directly, even if you promote a package to a "release" view. Feeds are private by default and only accessible to users with Azure DevOps authentication.
upvoted 1 times
...
Bakare118
5 months ago
Selected Answer: B
From Chatgpt... A common way to handle this in Azure Artifacts while minimizing “publication points” is to create a new feed in Azure Artifacts and configure that feed so it allows anonymous (public) access. That way, you only publish the package once (to your Azure Artifacts feed), and outside users can pull it without needing credentials. Option D (publishing to a public NuGet repo like nuget.org) would require you to maintain two separate publication endpoints: your internal feed and nuget.org, which increases the number of publication points, so B is generally the correct choice in order to keep it simple and centralized.
upvoted 1 times
...
Selected Answer: D
Correct is D , it says an user outside a organization , if you create a new feed you would do inside organization so you do it in a public feed
upvoted 1 times
...
Dankho
8 months ago
Selected Answer: D
I think it all boils down to the requirement to "minimize the number of publication points" explains why D. Publish the package to a public NuGet repository is a better choice. Reasoning: Publishing to a public NuGet repository makes the package accessible globally to anonymous users without requiring additional management of feeds in Azure Artifacts. Creating a public feed within Azure Artifacts requires maintaining and managing that feed, which technically creates an additional publication point. While it's possible, it adds complexity compared to using an already-established public repository like NuGet.org. By publishing to NuGet.org, you leverage an existing infrastructure designed for public sharing, fulfilling the requirement more effectively.
upvoted 1 times
...
Dankho
8 months ago
Selected Answer: D
Going with D. B. Create a new feed: Creating a new feed within Azure Artifacts would still be private by default unless explicitly configured, which doesn’t align with minimizing publication points.
upvoted 1 times
...
MrAZ105
9 months, 3 weeks ago
Selected Answer: D
D shold be correct
upvoted 1 times
...
MrAZ105
10 months, 1 week ago
D since Azure Artificats are by default private
upvoted 1 times
...
Mattt
10 months, 1 week ago
Selected Answer: B
B is correct Share packages publicly: https://learn.microsoft.com/en-us/azure/devops/artifacts/tutorials/share-packages-publicly?view=azure-devops&tabs=nuget
upvoted 1 times
...
Skankhunt
1 year ago
The package is already in Azure Artifacts, one of the requirements is "The solution must minimize the number of publication points" - thus option B is correct.
upvoted 1 times
...
sondrex
1 year, 1 month ago
The correct answer is D: Publish the package to a public NuGet repository. 🚀 Here’s why: NuGet Package Repository (Public): Hosting the package in a public NuGet repository makes it accessible to anyone, including anonymous users outside your organization. No authentication is required, which meets the goal of external accessibility. Minimizing Publication Points: By using a public NuGet repository, you maintain just one publication point. No need for additional feeds or complex setups. Other Options Explained: New Feed for the Package: While creating a new feed is an option, it introduces unnecessary complexity and additional publication points. Release View in Azure Artifacts: Release views are useful for managing package visibility within different environments, but they don’t address the requirement for external accessibility.
upvoted 1 times
...
FeriAZ
1 year, 4 months ago
Selected Answer: D
Minimized Publication Points: Leveraging an existing public repository eliminates the need for additional infrastructure or configuration within Azure Artifacts, keeping the number of publication points to a minimum. Public Accessibility: Public repositories like nuget.org are readily accessible by anonymous users searching for NuGet packages.
upvoted 2 times
...
ozbonny
1 year, 5 months ago
Selected Answer: D
Correct D
upvoted 1 times
...
hardinxcore
1 year, 7 months ago
Selected Answer: D
Note that publishing to a public repository, e.g. nuget.org doesn't necessarily increase the number of publication points, because nuget.org is the main goto for public dependencies. Therefore it is likely that's already being used. In contrast, creating a new feed will at least add one extra publication point.
upvoted 2 times
...
vsvaid
1 year, 8 months ago
Selected Answer: D
D for me
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...