nerdexam
Microsoft

AZ-400 · Question #307

You have a project in Azure DevOps. You plan to deploy a self-hosted agent by using an unattended configuration script. Which two values should you define in the configuration script? Each correct ans

The correct answer is A. authorization credentials D. the organization URL. Unattended config: The agent can be set up from a script with no human intervention. You must pass --unattended and the answers to all questions. To configure an agent, it must know the URL to your organization or collection and credentials of someone authorized to set up agents.

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

Question

You have a project in Azure DevOps. You plan to deploy a self-hosted agent by using an unattended configuration script. Which two values should you define in the configuration script? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • Aauthorization credentials
  • Bthe project name
  • Cthe deployment group name
  • Dthe organization URL
  • Ethe agent pool name

How the community answered

(25 responses)
  • A
    84% (21)
  • B
    4% (1)
  • C
    4% (1)
  • E
    8% (2)

Explanation

Unattended config: The agent can be set up from a script with no human intervention. You must pass --unattended and the answers to all questions. To configure an agent, it must know the URL to your organization or collection and credentials of someone authorized to set up agents. All other responses are optional. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows

Topics

#self-hosted agent#unattended configuration#organization URL#authorization credentials

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice