exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 87 discussion

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

You have an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages.
You need to configure Azure Artifacts to ensure that both the latest and pre-release versions of the packages are available for consumption.

What should you do?

  • A. Create two feed views named @prerelease and @release, Set @release as the default view. Configure a release pipeline that tags the packages as release after successful testing.
  • B. Create a feed view named @prerelease. Configure a release pipeline that tags the packages as release after successful testing.
  • C. Create two feed views named @prerelease and @default. Configure a release pipeline that promotes a package to the @default view after successful testing.
  • D. Create two feed views named @prerelease and @release. Set @release as the default view. Configure a release pipeline that promotes a package to the @release view after successful testing.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
ieboaix
9 months, 2 weeks ago
D is correct, as there are no @default so C is out, you need two views instaed of one, so B is out. the right action is promote a package and A is out, so D is the right answer.
upvoted 2 times
...
zellck
11 months, 4 weeks ago
Selected Answer: D
D is the answer. https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/best-practices?view=azure-devops#create-and-publish-packages To make a package available to early adopters, you can select it from your feed and promote it to the @prerelease view. Once you've deemed the package to be of sufficient quality for a full release, you can promote it to the @release view. By promoting package versions to a view, you can prevent them from being deleted by retention policies.
upvoted 4 times
...
buzzerboy
1 year, 3 months ago
I am wondering why C) is incorrect. Both C and D are virtually the same solution except with different viewnames.
upvoted 1 times
...
warchoon
1 year, 3 months ago
Selected Answer: D
When a package is ready for early adopters, select that package from within your feed and promote it to the @prerelease view. When the package is deemed of sufficient quality to be released, promote that package to the @release view. Reference: https://learn.microsoft.com/en-us/azure/devops/artifacts/concepts/best-practices?view=azure-devops#create-and-publish-packages
upvoted 3 times
...
Iaminall
1 year, 4 months ago
Correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago