nerdexam
MicrosoftMicrosoft

AZ-400 · Question #443

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

The correct answer is A: a task group. To ensure all new pipelines in an Azure DevOps project execute a consistent set of three specific tasks, you should create a task group.

Submitted by luis.pe· Mar 6, 2026Design and implement build and release pipelines

Question

You have a project in Azure DevOps named Project1. You need to ensure that all new pipelines in Project1 execute three specific tasks during pipeline execution. What should you create?

Options

  • Aa task group
  • Ba JSON template
  • Ca YAML template
  • Da PowerShell task

Explanation

To ensure all new pipelines in an Azure DevOps project execute a consistent set of three specific tasks, you should create a task group.

Common mistakes.

  • B. A JSON template is not the standard Azure DevOps construct for grouping and reusing a set of pipeline tasks; YAML templates are more relevant for pipeline structure, but task groups specifically bundle tasks.
  • C. While a YAML template can be used for reusability, a task group is specifically designed to abstract and reuse a sequence of pipeline tasks as a single, callable unit, which is a more direct solution for grouping tasks.
  • D. A PowerShell task executes a single script and does not inherently group multiple, potentially different, types of Azure DevOps tasks into a reusable component.

Concept tested. Azure DevOps reusable tasks (Task Groups)

Reference. https://learn.microsoft.com/en-us/azure/devops/pipelines/library/task-groups?view=azure-devops

Community Discussion

No community discussion yet for this question.

Full AZ-400 PracticeBrowse All AZ-400 Questions