nerdexam
MicrosoftMicrosoft

AZ-400 · Question #271

AZ-400 Question #271: Real Exam Question with Answer & Explanation

The correct answer is A: a self-hosted agent. When you run a pipeline on a self-hosted agent, by default, none of the subdirectories are cleaned in between two consecutive runs. As a result, you can do incremental builds and deployments, provided that tasks are implemented to make use of that. You can override this behavior

Submitted by valeria.br· Mar 6, 2026

Question

You have an existing build pipeline in Azure Pipelines. You need to use incremental builds without purging the environment between pipeline executions. What should you use?

Options

  • Aa self-hosted agent
  • BMicrosoft-hosted parallel jobs
  • Ca File Transform task

Explanation

When you run a pipeline on a self-hosted agent, by default, none of the subdirectories are cleaned in between two consecutive runs. As a result, you can do incremental builds and deployments, provided that tasks are implemented to make use of that. You can override this behavior using the workspace setting on the job. Incorrect Answers: B: The workspace clean options are applicable only for self-hosted agents. When using Microsoft- hosted agents, job are always run on a new agent. https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases

Community Discussion

No community discussion yet for this question.

Full AZ-400 PracticeBrowse All AZ-400 Questions