Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: DevOps Engineer Expert · Microsoft
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The correct answer is: A. personal access token (PAT) Explanation: - To register a self-hosted agent in Azure DevOps, the recommended and secure way is to use a Personal Access Token (PAT). A PAT allows the agent to authenticate with Azure DevOps during the registration process, enabling secure and authorized communication. Why other options are incorrect: B. SSH key - SSH keys are commonly used for secure shell access to Linux systems or for Git authentication. They are not used for registering a self-hosted agent in Azure DevOps. C. Alternate credentials: - Alternate credentials are deprecated in Azure DevOps because they are less secure compared to using PATs. This method is no longer recommended or supported for agent registration. D. certificate: - Certificates are not a valid or supported authentication mechanism for registering a self-hosted agent in Azure DevOps.
Correct A during the learning path it recommended to use PAT
When provisioning a self-hosted Linux agent in Azure DevOps, you should use an SSH key for authentication to register the agent. Azure DevOps uses the SSH protocol for secure communication with the self-hosted agent.