For an Azure DevOps organization, which authentication mechanism should you recommend to support Git authentication while minimizing the need to repeatedly provide credentials?
Choose an answer
Tap an option to check your answer.
Correct answer: Personal access tokens (PATs) in Azure DevOps.
Why this is the answer
Personal Access Tokens (PATs) are the recommended authentication mechanism for Git in Azure DevOps because they allow you to create long-lived, granularly scoped tokens that can be used instead of your full credentials. This minimizes the need to repeatedly enter your username and password, especially when performing Git operations from the command line or automated scripts. Alternate credentials are a legacy authentication method that is less secure and flexible than PATs. User accounts in Azure Active Directory (Azure AD) are used for interactive logins to Azure DevOps, not directly for Git authentication. Managed identities are primarily for Azure resources to authenticate to Azure services, not for individual users to authenticate to Git repositories.
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