# Red Hat RHCE EX294 practice exams

> Prepare for RHCE with 290 practice questions across 5 full timed exams, weighted toward Create Ansible plays and playbooks. Every answer is explained.

Page: https://devopscodelab.com/exams/redhat-ex294/

290 questions in 5 timed practice tests. Each test has about 60 questions and a 90-minute limit. The pass mark is 70%. Results are split across the 7 exam domains.

## Exam at a glance

| Setting | Value |
| --- | --- |
| Practice tests | 5 |
| Questions in total | 290 |
| Questions per test | About 60 |
| Time limit per test | 90 minutes |
| Pass mark | 70% |
| Question types | Single answer and multiple answer (26 multiple-answer questions) |
| Level | Professional |
| Category | DevOps & Cloud Native |

These are the settings of our practice tests. Check the official Red Hat exam page for the current format before you book.

## Domains and weights

| Domain | Weight | Questions in our bank |
| --- | --- | --- |
| Understand core components of Ansible | 15% | 43 |
| Configure Ansible and managed nodes | 17% | 49 |
| Run playbooks with ansible-navigator, Git and VS Code | 13% | 38 |
| Create Ansible plays and playbooks | 20% | 58 |
| Use roles and Ansible Content Collections | 13% | 38 |
| Automate standard RHCSA tasks using Ansible modules | 15% | 44 |
| Manage content with templates and Ansible Vault | 7% | 20 |

## Price and access

- RHCE practice exams: $14.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/redhat-ex294/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/redhat-ex294/free-practice-questions/

## Sample questions

### Question 1 of 3

A task should fail when the output of a command contains the word ERROR, even though the command itself always exits with status 0. Which task configuration implements this?

- A. - ansible.builtin.command: /usr/local/bin/check-app
  register: check
  ignore_errors: "'ERROR' in check.stdout"
- B. - ansible.builtin.command: /usr/local/bin/check-app
  register: check
  failed_when: "'ERROR' in check.stdout"
- C. - ansible.builtin.command: /usr/local/bin/check-app
  register: check
  until: "'ERROR' not in check.stdout"
- D. - ansible.builtin.command: /usr/local/bin/check-app
  register: check
  changed_when: "'ERROR' in check.stdout"

**Answer:** B

**Explanation:** failed_when replaces the default failure condition with a custom expression, so the task fails when the registered stdout contains ERROR. changed_when only alters the changed status, ignore_errors would suppress failures rather than create one, and until retries the task until the condition is true and then ends successfully or with a retry failure rather than evaluating the output once.

### Question 2 of 3 (choose 2)

Which two statements about Ansible modules are correct? (Choose two.)

- A. Modules are referenced by fully qualified collection names such as ansible.builtin.copy
- B. Every module must be listed under a collections keyword before it can be used
- C. Most modules are idempotent and report changed only when they modify the managed host
- D. Modules can run only on Linux managed nodes because they require a Python agent
- E. Modules are installed permanently on each managed node by the first playbook run

**Answer:** A, C

**Explanation:** Well-written modules check the current state and only change and report changed when needed, and current practice references them by FQCN such as ansible.builtin.copy. Ansible copies module code temporarily and removes it after execution, it has no persistent agent, and Windows hosts are managed with PowerShell-based modules. The collections keyword is optional when FQCNs are used.

### Question 3 of 3

New managed nodes have only the root account with password login, and the automation user devops must be created and authorised before normal playbooks can run. Which bootstrap approach is appropriate?

- A. Run a one-time playbook with -u root -k that creates devops, installs its public key and adds a sudoers drop-in file
- B. Copy the control node's /etc/sudoers file to every managed node with scp before running any playbook
- C. Edit ansible.cfg to set remote_user = devops and run the normal playbooks, which create the account themselves
- D. Set ansible_connection=local for the new nodes so tasks run without needing any remote account

**Answer:** A

**Explanation:** A bootstrap playbook connecting once as root with a password prompt can create the user, distribute the key with authorized_key and grant sudo through /etc/sudoers.d, after which normal runs use devops. The normal playbooks cannot log in as a user that does not exist yet, overwriting sudoers with another system's file is unsafe and does not create the user, and local connections run on the control node rather than the new hosts.


## Study plans

### Two weeks

1. Day 1: take practice test 1 in exam mode to get a baseline.
2. Days 2 to 5: domain mode on Create Ansible plays and playbooks and Configure Ansible and managed nodes, the two most heavily weighted domains.
3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

### Four weeks

1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

## Questions about the RHCE practice exams

**Are these real RHCE exam questions?**

No. We write every question ourselves and map it to the published RHCE exam objectives. We do not use leaked or recalled questions.

**Do the time limit and pass mark match the official exam?**

They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.

**Can I try it before I pay?**

Yes. The free mini exam has 15 questions with full explanations and needs no account.

**How long do I keep access?**

A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.

**What happens after I finish a test?**

You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026.

DevOpsCode Lab is not affiliated with Red Hat. RHCE and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
