You have source code in an on-premises repository and an on-premises build server. You plan to use Azure DevOps with a self-hosted agent to control the build process on that server. After downloading and installing the agent software on the build server, which two actions should you perform next? Select two.
Choose an answer
Tap an option to check your answer.
Correct answer: From DevOps, create a personal access token (PAT)., From the build server, run config.cmd..
Why this is the answer
To connect a self-hosted agent to Azure DevOps, you first need a way to authenticate the agent. A Personal Access Token (PAT) generated in Azure DevOps provides the necessary credentials for the agent to communicate securely with your Azure DevOps organization. After installing the agent software, you then run config.cmd on the build server. This command initiates the configuration process, prompting you for details such as the Azure DevOps organization URL and the PAT you generated. The config.cmd script uses the PAT to register the agent with your Azure DevOps organization, making it available to process build and release pipelines. Creating a SAS or certificates are not standard steps for configuring a self-hosted Azure DevOps agent.
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