- A
Use `any_errors_fatal: true` to stop the playbook if any host fails.
Why wrong: This would halt the entire update on the first failure, which is not desirable for a rolling update where individual host failures are acceptable.
- B
Set `serial: 1` to update one host at a time.
Updating one host at a time minimizes the impact on the load balancer pool and ensures continuous service availability.
- C
Use `throttle: 1` to limit the number of concurrent tasks across all hosts.
Why wrong: Throttle limits task concurrency but does not control the batch size within a rolling update; it is not a substitute for serial.
- D
Ensure the load balancer draining timeout is longer than the maximum expected update time per host.
This prevents the host from being re-enabled while the update is still in progress, avoiding serving traffic with an incomplete update.
- E
Use `async` and `poll` to run the update tasks in the background while proceeding to the next host immediately.
Why wrong: Async is not appropriate because the update must complete before the host is re-enabled; background execution could lead to premature re-enablement.
Ansible Rolling Update Best Practices with HAProxy
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.
A company uses Ansible to perform a rolling update of 10 web servers behind an HAProxy load balancer. The playbook uses the `serial` keyword and includes tasks to disable a host from the load balancer, update the web server package, and re-enable the host. Which TWO best practices should the administrator apply to minimize downtime and ensure a successful rolling update?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"best"Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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
Set `serial: 1` to update one host at a time.
Option B is correct because setting `serial: 1` ensures that only one host is updated at a time, which is the safest way to perform a rolling update without overwhelming the load balancer or causing a service outage. This allows the playbook to complete the full update cycle (disable, update, re-enable) for each host before moving to the next, minimizing the number of hosts out of service simultaneously.
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.
- ✗
Use `any_errors_fatal: true` to stop the playbook if any host fails.
Why it's wrong here
This would halt the entire update on the first failure, which is not desirable for a rolling update where individual host failures are acceptable.
- ✓
Set `serial: 1` to update one host at a time.
Why this is correct
Updating one host at a time minimizes the impact on the load balancer pool and ensures continuous service availability.
Clue confirmation
The clue words "best", "minimum / minimize" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Use `throttle: 1` to limit the number of concurrent tasks across all hosts.
Why it's wrong here
Throttle limits task concurrency but does not control the batch size within a rolling update; it is not a substitute for serial.
- ✓
Ensure the load balancer draining timeout is longer than the maximum expected update time per host.
Why this is correct
This prevents the host from being re-enabled while the update is still in progress, avoiding serving traffic with an incomplete update.
Clue confirmation
The clue words "best", "minimum / minimize" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Use `async` and `poll` to run the update tasks in the background while proceeding to the next host immediately.
Why it's wrong here
Async is not appropriate because the update must complete before the host is re-enabled; background execution could lead to premature re-enablement.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is confusing `serial` with `throttle` or `async`; candidates often think `throttle` or `async` can achieve the same serialization, but only `serial` ensures one host completes the entire update cycle before the next begins, which is essential for minimizing downtime in a rolling update scenario.
Detailed technical explanation
How to think about this question
The `serial` keyword in Ansible controls the number of hosts that are processed in each batch, effectively creating a mini-playbook run per batch. When `serial: 1` is used, Ansible runs the entire playbook on one host, including all tasks, before moving to the next. This is critical for rolling updates behind HAProxy because the load balancer's draining timeout must be set longer than the maximum expected update time per host; otherwise, HAProxy may forcibly close connections to a host that is still being updated, causing dropped traffic. The `throttle` keyword, by contrast, limits task concurrency but does not serialize host processing, so multiple hosts can be in different task phases simultaneously.
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.
- →
Coordinate rolling updates — study guide chapter
Learn the concepts, then practise the questions
- →
Coordinate rolling updates practice questions
Targeted practice on this topic area only
- →
All EX294 questions
528 questions across all exam domains
- →
Red Hat Certified Engineer EX294 study guide
Full concept coverage aligned to exam objectives
- →
EX294 practice test guide
How to use practice tests most effectively before exam day
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.
Deploy Ansible Automation Platform practice questions
Practise EX294 questions linked to Deploy Ansible Automation Platform.
Manage inventories and credentials practice questions
Practise EX294 questions linked to Manage inventories and credentials.
Manage task execution and roles practice questions
Practise EX294 questions linked to Manage task execution and roles.
Coordinate rolling updates practice questions
Practise EX294 questions linked to Coordinate rolling updates.
Transform data with filters and plugins practice questions
Practise EX294 questions linked to Transform data with filters and plugins.
Create content collections and execution environments practice questions
Practise EX294 questions linked to Create content collections and execution environments.
Implement advanced Ansible automation practice questions
Practise EX294 questions linked to Implement advanced Ansible automation.
Manage automation security and operations practice questions
Practise EX294 questions linked to Manage automation security and operations.
EX294 fundamentals practice questions
Practise EX294 questions linked to EX294 fundamentals.
EX294 scenario practice questions
Practise EX294 questions linked to EX294 scenario.
EX294 troubleshooting practice questions
Practise EX294 questions linked to EX294 troubleshooting.
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: Set `serial: 1` to update one host at a time. — Option B is correct because setting `serial: 1` ensures that only one host is updated at a time, which is the safest way to perform a rolling update without overwhelming the load balancer or causing a service outage. This allows the playbook to complete the full update cycle (disable, update, re-enable) for each host before moving to the next, minimizing the number of hosts out of service simultaneously.
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: "best", "minimum / minimize". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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 →
Same concept, more angles
1 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. An Ansible Engineer is planning a rolling update for a web application deployed across 10 nodes. The playbook uses the 'delegate_to' directive to manage load balancer health checks. Which of the following best describes the recommended approach to minimize downtime?
medium- ✓ A.Use 'serial: 1' and delegate load balancer disable/enable tasks to localhost, ensuring each node is taken out of rotation before updating.
- B.Run the update playbook with 'serial: 10' to update all nodes at once, then run a separate playbook to update the load balancer.
- C.Run the update on each node manually using 'ansible-playbook --limit' and skip load balancer management to save time.
- D.Use 'strategy: free' to allow nodes to update independently without controlling the load balancer.
Why A: Option A is correct because using 'serial: 1' ensures that only one node is updated at a time, and delegating load balancer disable/enable tasks to localhost (or the Ansible control node) allows the playbook to interact with the load balancer API to remove the node from the pool before the update and re-add it after. This minimizes downtime by ensuring traffic is not sent to a node being updated, while other nodes continue serving requests.
Keep practising
More EX294 practice questions
- A systems administrator is securing Ansible automation. Which two practices help protect sensitive data in playbooks? (C…
- A workflow template in automation controller consists of three job templates that must run sequentially with different c…
- Refer to the exhibit. A playbook fails with the given error. What is the most likely cause?
- An Ansible automation team is designing a playbook to manage network devices. They need to ensure that the playbook can…
- A systems administrator needs to run a playbook that applies configuration changes to a set of servers. They want to ens…
- An organization requires that all Ansible playbooks be executed using a specific service account that has limited permis…
Last reviewed: Jul 4, 2026
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.
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.
Sign in to join the discussion.