nerdexam
Microsoft

AZ-400 · Question #216

Your company has an Azure DevOps project. The source code for the project is stored in an on-premises repository and uses on an on- premises build server. You plan to use Azure DevOps to control the b

The correct answer is D. From DevOps, create a personal access token (PAT). E. From the build server, run config.cmd.. After agent is install, we need to execute PS C:\agent> .\config.cmd and we need a PAT. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops

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

Question

Your company has an Azure DevOps project. The source code for the project is stored in an on-premises repository and uses on an on- premises build server. You plan to use Azure DevOps to control the build process on the build server by using a self- hosted agent. You need to implement the self-hosted agent. You download and install the agent on the build server. Which two actions should you perform next? Each correct answer presents part of the solution.

Options

  • AFrom Azure, create a shared access signature (SAS).
  • BFrom the build server, create a certificate, and then upload the certificate to Azure Storage.
  • CFrom the build server, create a certificate, and then upload the certificate to Azure Key Vault.
  • DFrom DevOps, create a personal access token (PAT).
  • EFrom the build server, run config.cmd.

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    6% (2)
  • D
    88% (30)

Explanation

After agent is install, we need to execute PS C:\agent> .\config.cmd and we need a PAT. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice