Question 352 of 528
Coordinate rolling updateshardMultiple ChoiceObjective-mapped

Ansible Serial Keyword for Quorum in Rolling Updates

This EX294 practice question tests your understanding of coordinate rolling updates. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An operations team is designing a rolling update for a stateful application that requires quorum (minimum 3 out of 5 nodes online). They plan to use Ansible's serial keyword. Which serial value ensures the update proceeds without breaking quorum while still being efficient?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

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

serial: 2

Option A is correct because setting serial: 2 ensures that only 2 nodes are taken down at a time during the rolling update. With a quorum requirement of 3 out of 5 nodes, taking down 2 nodes leaves 3 online, maintaining quorum. This is the most efficient value that does not risk breaking quorum.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • serial: 2

    Why this is correct

    Updating 2 nodes leaves 3 online, maintaining quorum, and is efficient.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • serial: 1

    Why it's wrong here

    Safe but inefficient; only one node updated at a time.

  • serial: 3

    Why it's wrong here

    Updating 3 nodes leaves only 2 online, losing quorum.

  • serial: 5

    Why it's wrong here

    Updating all 5 at once would leave 0 nodes, losing quorum.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may confuse 'quorum' with 'majority' and incorrectly choose serial: 3, thinking that 3 out of 5 is a majority, but fail to realize that taking down 3 nodes leaves only 2 online, which is below the quorum threshold of 3.

Detailed technical explanation

How to think about this question

The serial keyword in Ansible controls the batch size of hosts updated in a play, effectively limiting concurrency. For stateful applications like databases (e.g., Cassandra, Elasticsearch) that rely on quorum-based consensus (e.g., Raft or Paxos), the batch size must be less than or equal to total nodes minus quorum size to avoid losing availability. In this case, 5 - 3 = 2, so serial: 2 is the maximum safe batch size.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the EX294 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related EX294 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free EX294 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this EX294 question test?

Coordinate rolling updates — This question tests Coordinate rolling updates — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: serial: 2 — Option A is correct because setting serial: 2 ensures that only 2 nodes are taken down at a time during the rolling update. With a quorum requirement of 3 out of 5 nodes, taking down 2 nodes leaves 3 online, maintaining quorum. This is the most efficient value that does not risk breaking quorum.

What should I do if I get this EX294 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, 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

4 more ways this is tested on EX294

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. Which THREE statements correctly describe the behavior of the 'serial' keyword in Ansible? (Choose exactly three.)

hard
  • A.It can be set as a percentage of the total hosts.
  • B.It causes the playbook to run on a subset of hosts at a time.
  • C.It can be combined with max_fail_percentage to control failure thresholds.
  • D.It guarantees that only one task runs across all hosts at any time.
  • E.It applies globally to all plays in the playbook.

Why A: Option A is correct because the 'serial' keyword in Ansible can be specified as a percentage (e.g., 'serial: 50%'), which tells Ansible to run the play on that percentage of hosts in the batch at a time. This is useful for controlling the rollout pace across a dynamic inventory where the exact host count may vary.

Variation 2. Which TWO of the following are best practices when coordinating rolling updates with Ansible?

hard
  • A.Define a 'max_fail_percentage' to abort the update if too many hosts fail.
  • B.Use the 'serial' keyword to update a subset of hosts at a time.
  • C.Use 'strategy: free' to allow hosts to run tasks independently.
  • D.Use 'gather_facts: no' to speed up the playbook.
  • E.Set 'any_errors_fatal: true' to stop the update on the first failure.

Why A: Option A is correct because 'max_fail_percentage' allows you to define a threshold of host failures (as a percentage of the batch size) that, when exceeded, causes Ansible to abort the entire rolling update. This prevents the update from continuing when too many hosts have failed, which could lead to an inconsistent or degraded state across the infrastructure. Option B is correct because the 'serial' keyword controls the number of hosts (or percentage) that Ansible updates in each batch, ensuring that only a subset of hosts is taken out of service at a time, which maintains overall service availability during the rolling update.

Variation 3. Which TWO options are best practices for coordinating rolling updates with Ansible? (Choose exactly two.)

easy
  • A.Set ignore_errors: yes to ensure the playbook continues even if some hosts fail.
  • B.Use the serial keyword to update hosts in batches.
  • C.Use the default serial setting (all hosts) for simplicity.
  • D.Set max_fail_percentage to limit the number of failed hosts before aborting.
  • E.Run all hosts in parallel to minimize total update time.

Why B: Option B is correct because the `serial` keyword in Ansible controls how many hosts are updated at a time during a rolling update, allowing you to update hosts in batches to maintain service availability. This is a best practice for coordinating rolling updates as it prevents overwhelming the infrastructure and ensures that a subset of hosts remains operational while others are being updated.

Variation 4. A large enterprise manages thousands of servers grouped by data center. They are designing a rolling update that must complete within a maintenance window. Which combination of Ansible strategies best minimizes total update time while maintaining safety?

hard
  • A.Set serial: 0 to update all hosts simultaneously.
  • B.Set serial to 10% and max_fail_percentage to 25%.
  • C.Set forks to 100 and max_fail_percentage to 50.
  • D.Set serial to 1 to update one host at a time with max_fail_percentage: 0.

Why B: Option B is correct because setting `serial: 10%` updates hosts in batches of 10% of the inventory, which parallelizes the update across many hosts to minimize total time, while `max_fail_percentage: 25%` provides a safety net by aborting the play if more than 25% of the batch fails, preventing a cascade of failures from taking down the entire data center. This combination balances speed and safety for large-scale rolling updates within a maintenance window.

Keep practising

More EX294 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This EX294 practice question is part of Courseiva's free Red Hat 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 EX294 exam.