nerdexam
Microsoft

AZ-400 · Question #443

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?

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

How the community answered

(35 responses)
  • A
    86% (30)
  • B
    9% (3)
  • C
    3% (1)
  • D
    3% (1)

Why each option

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

Aa task groupCorrect

A task group in Azure DevOps allows you to encapsulate a sequence of pipeline tasks into a single reusable unit. This enables developers to easily incorporate the predefined set of three tasks into any new pipeline, ensuring consistency and reducing duplication.

Ba JSON template

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.

Ca YAML template

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.

Da PowerShell task

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)

Source: 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 Practice