Courseiva
Design and implement build and release pipelinesmediumMultiple SelectObjective-mapped

Two Benefits Deployment Groups Have Over Individual VM Targeting

Which TWO are benefits of using deployment groups in Azure Pipelines compared to using individual virtual machines?

Quick Answer

Deployment groups let one pipeline run target every machine in the group at once, enabling rolling deployments with per-machine health checks — compared to configuring each individual VM separately in the pipeline, deployment groups centralize target management and let you reuse the same group definition across multiple releases.

⚠ Common exam trap

It's easy for candidates to confuse deployment groups with Azure VM scale sets, leading candidates to incorrectly associate automatic scaling or cost-saving shutdown features with deployment groups, when those are separate Azure services.

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

Simplified targeting of multiple machines with a single pipeline run.

Deployment groups in Azure Pipelines allow you to target multiple machines with a single pipeline run by logically grouping them, enabling parallel or rolling deployments across all machines in the group. This simplifies management compared to configuring each individual VM separately in the pipeline, as you can define the group once and reuse it across releases.

Answer analysis

Option-by-option breakdown

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

  • Built-in secrets management for connection strings.

    Why it's wrong here

    Secrets management is separate (Key Vault).

  • Reduced cost because VMs are shut down when not in use.

    Why it's wrong here

    Deployment groups do not manage VM power state.

  • Automatic scaling of virtual machines based on load.

    Why it's wrong here

    Deployment groups do not automatically scale VMs.

  • Simplified targeting of multiple machines with a single pipeline run.

    Why this is correct

    Deployment groups group machines together for parallel deployment.

  • Rolling deployment support with health checks.

    Why this is correct

    Deployment groups support rolling deployments and health checks.

Visual reference

Client DHCP Server 1 Discover (broadcast) 2 Offer (IP: 192.168.1.10) 3 Request (I accept) 4 Acknowledge (lease confirmed) DORA — the four-step DHCP lease process

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

Same concept, more angles

1 more way this is tested on AZ-400

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. You are creating a release pipeline that uses Azure Pipelines to deploy to multiple virtual machines. You need to ensure that the deployment runs on each machine in parallel. Which deployment strategy should you use?

easy
  • A.Blue-green deployment
  • B.Canary deployment
  • C.Rolling deployment
  • D.Run once deployment with parallel execution

Why D: The requirement is to deploy to multiple virtual machines in parallel, which is achieved by configuring a 'run once' deployment strategy with parallel execution in Azure Pipelines. This strategy uses the deployment group's parallel execution settings to run the deployment job simultaneously on all target machines, ensuring each machine receives the deployment at the same time.

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.