nerdexam
Microsoft

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

Submitted by ricky.ec· Mar 6, 2026Design and implement source control

Question

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 provide credentials during authentication What should you recommend?

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)
  • A
    91% (40)
  • B
    2% (1)
  • C
    2% (1)
  • D
    5% (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.

Full AZ-400 Practice