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

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?
B) an Azure Artifacts Credential Provider
A) an Azure Automation account
C) an Azure Active Directory (Azure AD) account that has multi-factor authentication (MFA) enabled
D) an Azure Active Directory (Azure AD) service principalD18912E1457D5D1DDCBD40AB3BF70D5D

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
2 months ago
D could work too, but B is more straightforward.
upvoted 0 times
...
Ricarda
2 months ago
A seems too complex for this task.
upvoted 0 times
...
Novella
2 months ago
I agree, B makes sense for automation.
upvoted 0 times
...
Cassie
3 months ago
I think B is the best choice. It simplifies authentication.
upvoted 0 times
...
Shizue
3 months ago
I thought Azure Automation could handle this too, interesting!
upvoted 0 times
...
Valda
3 months ago
D is definitely the best choice for secure access.
upvoted 0 times
...
Raina
3 months ago
Wait, does using MFA really complicate things?
upvoted 0 times
...
Detra
3 months ago
I disagree, A seems more flexible for automation tasks.
upvoted 0 times
...
Socorro
3 months ago
B is the way to go for automating NuGet authentication!
upvoted 0 times
...
Leonard
4 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
4 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
4 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
5 months ago
A) an Azure Automation account? Really? That's overkill for a simple NuGet package restore.
upvoted 0 times
...
Earlean
5 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
5 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
5 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
5 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
6 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
6 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
6 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
6 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
6 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
6 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
7 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
Yoko
6 days ago
But what about using a service principal? Seems secure too.
upvoted 0 times
...
Roxane
11 days ago
Yeah, it simplifies the authentication process for NuGet packages.
upvoted 0 times
...
Cherri
17 days ago
I think the Azure Artifacts Credential Provider is the way to go.
upvoted 0 times
...
...

Save Cancel