Question 232 of 520
Conditions That Abort Ansible Rolling Update
Which TWO conditions cause an Ansible rolling update playbook to abort immediately? (Choose exactly two.)
Quick Answer
any_errors_fatal: yes causing an immediate abort is correct because that setting changes Ansible's default failure handling at the most fundamental level: normally Ansible tries to continue running a play on the hosts that have not failed, but any_errors_fatal overrides that and says a single task failure on any single host is enough to stop the entire play for every host, immediately, with no regard for batch size or percentage thresholds. That makes it meaningfully different from max_fail_percentage, which the explanation also describes as an abort trigger - max_fail_percentage only aborts once the proportion of failed hosts in a batch crosses a set threshold, so it tolerates some failures depending on how that percentage is configured, whereas any_errors_fatal tolerates none, at any point in the run. Both are legitimate ways to make a rolling update stop early, but they operate on different logic: one is threshold-based and batch-aware, the other is absolute and immediate. When a question asks about conditions that abort a rolling update, look for whether the described trigger is proportional, a percentage of a batch failing, or absolute, any failure at all regardless of batch, since those map directly to max_fail_percentage and any_errors_fatal respectively.
⚠ Common exam trap
It's easy for candidates to confuse 'unreachable' (Option E) with a fatal error, but Ansible treats unreachable hosts as failed hosts that are skipped, not as an immediate abort condition unless explicitly configured with `any_errors_fatal` or `max_fail_percentage`.
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
✓
The failure count in a batch exceeds max_fail_percentage.
Ansible's rolling update logic uses `max_fail_percentage` to control batch failure tolerance. If the number of failed hosts in a batch exceeds this percentage, the playbook aborts immediately to prevent cascading failures. Option C is correct because setting `any_errors_fatal: yes` causes the entire playbook to abort as soon as any task fails on any host, regardless of batch boundaries.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The failure count in a batch exceeds max_fail_percentage.
Why this is correct
Correct. The playbook aborts when batch failure percentage is exceeded.
- ✗
A task returns 'changed' when 'changed_when: false' is used.
Why it's wrong here
changed_when affects reporting, not abort.
- ✓
A task fails on a host, and 'any_errors_fatal' is set to yes.
Why this is correct
Correct. any_errors_fatal stops the play on first failure.
- ✗
The playbook runs with the --check flag.
Why it's wrong here
--check does not abort; it shows changes without applying.
- ✗
A host is unreachable due to network issues.
Why it's wrong here
Unreachable hosts are skipped by default; play continues.
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 way 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 administrator uses a rolling update strategy with serial: 3 and max_fail_percentage: 20. They have 10 hosts in the inventory. The first batch of 3 hosts: 2 succeed, 1 fails. What happens next?
medium- ✓ A.The playbook continues with the next batch of 3 hosts.
- B.The playbook retries the failed host, then continues.
- C.The playbook marks the failed host as unreachable and continues.
- D.The playbook aborts and no further hosts are updated.
Why A: The `max_fail_percentage` parameter applies to the total number of hosts, not per batch. With 10 hosts and 20%, up to 2 hosts can fail overall. The first batch had only 1 failure, which is within the limit, so the playbook continues with the next batch of 3 hosts. Options B, C, and D are incorrect because the failure threshold has not been exceeded.
Last reviewed: Jun 25, 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.