Courseiva
hardMultiple ChoiceObjective-mapped

200-901 Practice Question: A DevOps team is automating network configuration…

A DevOps team is automating network configuration using Ansible. They want to push a new VLAN configuration to a switch but ensure that only one switch is updated at a time to avoid network disruption. Which Ansible strategy or feature should they use?

⚠ Common exam trap

A common mix-up: candidates confuse `forks` (which controls task-level parallelism) with `serial` (which controls host-level batching), or mistakenly think `throttle` or `strategy: free` can achieve the same serialization effect.

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

Set 'serial: 1' in the playbook.

Setting `serial: 1` in an Ansible playbook forces the play to execute against only one host at a time, even if the play targets multiple switches. This ensures that VLAN configuration is pushed to exactly one switch before moving to the next, preventing network disruption from simultaneous changes.

Answer analysis

Option-by-option breakdown

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

  • Use 'strategy: free' to manage execution order.

    Why it's wrong here

    Ansible has 'linear' (default) and 'free' strategies, but 'free' does not limit batch size; it allows hosts to finish independently.

  • Set 'forks: 1' in the playbook.

    Why it's wrong here

    'forks' controls how many hosts are processed simultaneously per task, not per play, but it might still update multiple switches in parallel across tasks.

  • Use 'throttle: 1' on each task.

    Why it's wrong here

    'throttle' limits concurrent task execution but still allows multiple hosts to proceed in parallel across different tasks.

  • Set 'serial: 1' in the playbook.

    Why this is correct

    'serial: 1' ensures only one host is updated at a time, preventing disruption.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

About these practice questions

One of 989 original 200-901 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 200-901 practice question is part of Courseiva's free Cisco 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 200-901 exam.