AZ-400 · Question #265
You have an Azure DevOps organization named Contoso. You need to recommend an authentication mechanism that meets the following requirements: - Supports authentication from Git - Minimizes the need to
The correct answer is A. personal access tokens (PATs) in Azure DevOps. Personal access tokens (PATs) give you access to Azure DevOps and Team Foundation Server (TFS), without using your username and password directly. These tokens have an expiration date from when they're created. You can restrict the scope of the data they can access. Use PATs to a
Question
Options
- Apersonal access tokens (PATs) in Azure DevOps
- BAlternate credentials in Azure DevOps
- Cuser accounts in Azure Active Directory (Azure AD)
- Dmanaged identities in Azure Active Directory (Azure AD)
How the community answered
(44 responses)- A91% (40)
- B2% (1)
- C2% (1)
- D5% (2)
Explanation
Personal access tokens (PATs) give you access to Azure DevOps and Team Foundation Server (TFS), without using your username and password directly. These tokens have an expiration date from when they're created. You can restrict the scope of the data they can access. Use PATs to authenticate if you don't already have SSH keys set up on your system or if you need to restrict the permissions that are granted by the credential. Incorrect Answers: B: Azure DevOps no longer supports Alternate Credentials authentication since the beginning of March 2, 2020. If you're still using Alternate Credentials, we [Microsoft] strongly encourage you to switch to a more secure authentication method (for example, personal access tokens). https://docs.microsoft.com/en-us/azure/devops/repos/git/auth-overview
Community Discussion
No community discussion yet for this question.