AZ-400 Practice Question: Design and implement build and release pipelines
Which THREE components are required to implement a self-hosted agent pool in Azure Pipelines?
⚠ Common exam trap
Candidates often confuse the authentication method for the agent (PAT) with the service connection used for Azure resource deployments, leading them to incorrectly select the ARM service connection as a required component.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The Azure Pipelines agent software installed on the machine.
The Azure Pipelines agent software is the core component that executes pipeline jobs on the self-hosted machine. Without installing the agent software (via the agent configuration script), the machine cannot register with Azure Pipelines or run any tasks, making it a mandatory requirement for a self-hosted agent pool.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
An Azure Resource Manager service connection.
Why it's wrong here
An Azure Resource Manager service connection is used to authenticate Azure DevOps pipelines to Azure resources for deployments, not to install or register a self-hosted agent. Agent registration instead relies on a personal access token or other authentication method scoped to agent pools, making the ARM service connection unnecessary for implementing a self-hosted agent.
- ✗
A YAML pipeline definition.
Why it's wrong here
A YAML pipeline definition describes the build, test, and deployment steps in source control, but it is not a prerequisite for setting up a self-hosted agent. The agent software can be installed and registered independently of any pipeline, and while the agent will later execute YAML pipelines, the definition itself is not a component required for the implementation.
- ✓
The Azure Pipelines agent software installed on the machine.
Why this is correct
The Azure Pipelines agent software is the core executable that runs on the self-hosted machine to request work from Azure DevOps and execute pipeline jobs. Without this software installed, the machine cannot act as an agent, so it is an essential component for implementing a self-hosted agent.
- ✓
A virtual machine or physical server to host the agent.
Why this is correct
A self-hosted agent needs a physical or virtual machine to host the agent software and provide an execution environment for tasks. This host must remain available and networked to Azure DevOps so the agent can poll for pending jobs, making the machine an indispensable component.
- ✓
A personal access token (PAT) with agent pool management permissions.
Why this is correct
During registration, the agent must authenticate to Azure DevOps, and a personal access token with Agent Pools read/manage permission is the standard method for that authentication. The PAT authorizes the agent to join the target pool, so it is a required component for implementing and securely registering a self-hosted agent.
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
Pipeline
A pipeline is an automated series of steps that takes code from development to production, ensuring quality and speed.
Key term
Agent
An agent is a software component that runs on a local machine to perform automated tasks, collect data, or execute commands as part of a larger system like CI/CD or monitoring.
About these practice questions
This AZ-400 question is part of Courseiva's 823-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.