nerdexam
Microsoft

AZ-400 · Question #242

You plan to provision a self-hosted Linux agent. Which authentication mechanism should you use to register the self-hosted agent?

The correct answer is A. personal access token (PAT). Note: PAT Supported only on Azure Pipelines and TFS 2017 and newer. After you choose PAT, paste the PAT token you created into the command prompt window. Use a personal access token (PAT) if your Azure DevOps Server or TFS instance and the agent machine are not in a trusted domai

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

Question

You plan to provision a self-hosted Linux agent. Which authentication mechanism should you use to register the self-hosted agent?

Options

  • Apersonal access token (PAT)
  • BSSH key
  • CAlternate credentials
  • Dcertificate

How the community answered

(40 responses)
  • A
    88% (35)
  • B
    3% (1)
  • C
    3% (1)
  • D
    8% (3)

Explanation

Note: PAT Supported only on Azure Pipelines and TFS 2017 and newer. After you choose PAT, paste the PAT token you created into the command prompt window. Use a personal access token (PAT) if your Azure DevOps Server or TFS instance and the agent machine are not in a trusted domain. PAT authentication is handled by your Azure DevOps Server or TFS instance instead of the domain controller. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice