When deploying a self-hosted Azure Pipelines agent using an unattended configuration script, which two values must be specified in the script?
Choose an answer
Tap an option to check your answer.
Correct answer: authorization credentials, the organization URL.
Why this is the answer
When configuring a self-hosted Azure Pipelines agent unattended, the script requires the organization URL to specify which Azure DevOps organization the agent will connect to. It also needs authorization credentials (like a Personal Access Token or PAT) to authenticate the agent's connection to that organization and allow it to register and receive jobs. Without these two pieces of information, the agent cannot establish a secure and authorized connection to your Azure DevOps environment. The project name, deployment group name, and agent pool name are typically configured after the initial connection and authentication, or can be specified as optional parameters during the initial setup, but they are not strictly mandatory for the agent to initially connect and register.
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