Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 2 Question 129 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 129
Topic #: 2
[All AZ-400 Questions]

You plan to use a NuGet package in a project in Azure DevOps. The NuGet package is in a feed that requires authentication.

You needto ensure that the project can restore the NuGet package automatically.

What should the project use to automate the authentication?

Show Suggested Answer Hide Answer
Suggested Answer: B

The Azure Artifacts Credential Provider automates the acquisition of credentials needed torestore NuGet

packages as part of your .NET development workflow. It integrates with MSBuild, dotnet, and NuGet(.exe) and works on Windows, Mac, and Linux. Any time you want to use packages from an Azure Artifacts feed, the Credential Provider will automatically acquire and securely store a token on behalf of the NuGet client you're using.


https://github.com/Microsoft/artifacts-credprovider

Contribute your Thoughts:

0/2000 characters
Sanjuana
2 days ago
I heard the correct answer is actually a carrier pigeon with a secure message. Gotta keep those packages safe, you know?
upvoted 0 times
...
Alberta
7 days ago
C) an Azure Active Directory (Azure AD) account with MFA? Nah, that's too much hassle for a build process.
upvoted 0 times
...
Teddy
28 days ago
A) an Azure Automation account? Really? That's overkill for a simple NuGet package restore.
upvoted 0 times
...
Earlean
1 month ago
D) an Azure Active Directory (Azure AD) service principal is the way to go. It's more secure than a regular user account.
upvoted 0 times
...
Alex
1 month ago
B) an Azure Artifacts Credential Provider is the correct answer. It allows the project to authenticate and restore the NuGet package automatically.
upvoted 0 times
...
Lorrine
1 month ago
Multi-factor authentication sounds important, but I don't think an Azure AD account with MFA would work for automating package restoration.
upvoted 0 times
...
Katy
2 months ago
I feel like using an Azure Automation account is not the best fit for this scenario, but I can't recall why.
upvoted 0 times
...
Benedict
2 months ago
I remember practicing a question about Azure AD service principals, and they seemed to be useful for automating tasks. Could that be the answer here?
upvoted 0 times
...
Ruthann
2 months ago
I think the Azure Artifacts Credential Provider might be the right choice since it handles authentication for NuGet feeds, but I'm not completely sure.
upvoted 0 times
...
Maybelle
2 months ago
I'm leaning towards the Azure AD service principal, but I want to double-check that it can handle the authentication automatically without any additional setup. Gotta make sure I'm not missing anything.
upvoted 0 times
...
Aliza
2 months ago
Whoa, this is a tricky one. I'm not sure if the Azure AD account with MFA is the right choice, since that might require manual intervention. I'll have to weigh the pros and cons of each option carefully.
upvoted 0 times
...
Margart
2 months ago
I'm feeling pretty confident about this one. I think the Azure Artifacts Credential Provider is the way to go to automate the NuGet package authentication. That seems like the most straightforward solution.
upvoted 0 times
...
Merilyn
3 months ago
Okay, let's see. I'm a bit confused about the difference between an Azure Automation account and an Azure AD service principal. I'll need to review those concepts before deciding.
upvoted 0 times
...
Joanne
3 months ago
Hmm, this looks like it's testing our understanding of Azure DevOps and NuGet package management. I think the key here is ensuring the authentication is automated, so I'll need to carefully consider the options.
upvoted 0 times
...

Save Cancel