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
Tarra
13 days ago
D could work too, but B is more straightforward.
upvoted 0 times
...
Ricarda
18 days ago
A seems too complex for this task.
upvoted 0 times
...
Novella
23 days ago
I agree, B makes sense for automation.
upvoted 0 times
...
Cassie
29 days ago
I think B is the best choice. It simplifies authentication.
upvoted 0 times
...
Shizue
1 month ago
I thought Azure Automation could handle this too, interesting!
upvoted 0 times
...
Valda
1 month ago
D is definitely the best choice for secure access.
upvoted 0 times
...
Raina
1 month ago
Wait, does using MFA really complicate things?
upvoted 0 times
...
Detra
2 months ago
I disagree, A seems more flexible for automation tasks.
upvoted 0 times
...
Socorro
2 months ago
B is the way to go for automating NuGet authentication!
upvoted 0 times
...
Leonard
2 months ago
Wait, you mean I can't just use my dog's name as the password? That's the most secure method I know!
upvoted 0 times
...
Sanjuana
2 months 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
2 months 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
3 months ago
A) an Azure Automation account? Really? That's overkill for a simple NuGet package restore.
upvoted 0 times
...
Earlean
3 months 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
3 months 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
4 months 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
4 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
4 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
4 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
4 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
4 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
5 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
5 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
5 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