Courseiva
Configure processes and communicationsmediumDrag & DropObjective-mapped

AZ-400 Configure processes and communications Practice Question

Drag and drop the steps to set up a self-hosted Azure DevOps agent on a Windows VM into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

First create a PAT, then download the agent, then run config.cmd to configure and register, then start the agent as a service.

The correct order to set up a self-hosted Azure DevOps agent on a Windows VM is: create a Personal Access Token (PAT) first, then download the agent package, then run config.cmd to configure and register the agent with Azure DevOps, and finally start the agent as a service. Option A reflects this sequence correctly. Other options either place download before PAT creation or start the agent before configuration, which would fail.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • First create a PAT, then download the agent, then run config.cmd to configure and register, then start the agent as a service.

    Why this is correct

    This is the correct order because the PAT is required for authentication during configuration, and the agent must be configured before it can be started as a service.

  • First download the agent, then create a PAT, then run config.cmd, then start the agent as a service.

    Why it's wrong here

    This is incorrect because you need the PAT before you can configure the agent; downloading the agent first is fine, but creating the PAT should come before configuration, not after.

  • First create a PAT, then run config.cmd, then download the agent, then start the agent as a service.

    Why it's wrong here

    This is incorrect because you must download the agent before you can run config.cmd; you cannot configure something you haven't downloaded yet.

  • First create a PAT, then download the agent, then start the agent as a service, then run config.cmd.

    Why it's wrong here

    This is incorrect because starting the agent as a service requires the agent to be configured first; configuration must happen before the service can start.

Visual reference

Inside (Private) PC-A 10.0.0.1 PC-B 10.0.0.2 NAT Router Outside (Public) 203.0.113.1 Inside Global Server PAT: many private IPs share one public IP via unique port numbers

About these practice questions

One of 823 original AZ-400 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.