nerdexam
MicrosoftMicrosoft

AZ-400 · Question #155

AZ-400 Question #155: Real Exam Question with Answer & Explanation

The correct answer is B: an Azure Artifacts Credential Provider. The Azure Artifacts Credential Provider automates the acquisition of credentials needed to restore 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

Submitted by the_admin· Mar 6, 2026Design and implement build and release pipelines

Question

You plan to use a NuGet package in a project in Azure DevOps. The NuGet package is in a feed that requires authentication. You need to ensure that the project can restore the NuGet package automatically. What should the project use to automate the authentication?

Options

  • Aan Azure Automation account
  • Ban Azure Artifacts Credential Provider
  • Can Azure Active Directory (Azure AD) account that has multi-factor authentication (MFA) enabled
  • Dan Azure Active Directory (Azure AD) service principal

Explanation

The Azure Artifacts Credential Provider automates the acquisition of credentials needed to restore 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

Community Discussion

No community discussion yet for this question.

Full AZ-400 PracticeBrowse All AZ-400 Questions