A project in Azure DevOps must restore a NuGet package from a feed that requires authentication. What should the project use to automate authentication for package restore?
Choose an answer
Tap an option to check your answer.
Correct answer: An Azure Artifacts Credential Provider.
Why this is the answer
The Azure Artifacts Credential Provider is specifically designed to automate authentication for NuGet, npm, Maven, and Python packages from Azure Artifacts feeds, including those requiring authentication. It integrates with your build agents to seamlessly acquire credentials. An Azure Automation account is for automating management tasks and runbooks, not package authentication. An Azure AD account with MFA or an Azure AD service principal could be used for authentication in some scenarios, but the Credential Provider is the purpose-built and most efficient solution for NuGet package restore within Azure DevOps.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed