RHCE

Red Hat RHCE EX294 practice exams

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

RHCE practice exam settings
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 exam format before you book.

Domains and weights

RHCE exam domains, weights and question counts
Domain Weight Weight bar 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

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?

  1. A - ansible.builtin.command: /usr/local/bin/check-app register: check ignore_errors: "'ERROR' in check.stdout"
  2. B - ansible.builtin.command: /usr/local/bin/check-app register: check failed_when: "'ERROR' in check.stdout" (correct answer)
  3. C - ansible.builtin.command: /usr/local/bin/check-app register: check until: "'ERROR' not in check.stdout"
  4. D - ansible.builtin.command: /usr/local/bin/check-app register: check changed_when: "'ERROR' in check.stdout"
Why: 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.)

  1. A Modules are referenced by fully qualified collection names such as ansible.builtin.copy (correct answer)
  2. B Every module must be listed under a collections keyword before it can be used
  3. C Most modules are idempotent and report changed only when they modify the managed host (correct answer)
  4. D Modules can run only on Linux managed nodes because they require a Python agent
  5. E Modules are installed permanently on each managed node by the first playbook run
Why: 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?

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

What your score report looks like

Example attempt, RHCE practice test 3

75%

Passed
Pass mark 70%

Score by exam domain
DomainWeightYour score%
Understand core components of Ansible 15%
88
Configure Ansible and managed nodes 17%
81
Run playbooks with ansible-navigator, Git and VS Code 13%
76
Create Ansible plays and playbooks 20%
58
Use roles and Ansible Content Collections 13%
84
Automate standard RHCSA tasks using Ansible modules 15%
72

Study next: Create Ansible plays and playbooks. It is below the pass mark and carries 20% of the exam.

Domains and pass mark from our RHCE practice tests. Scores are an example attempt.

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. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with Red Hat. RHCE and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
RHCSARed Hat RHCSA EX200 Red Hat Associate 300 90 $12.99
010-160LPI Linux Essentials 010-200 LPI Foundational 200 60 $9.99
GH-900GitHub Foundations GH-900 GitHub Foundational 300 100 $9.99
AT0-001CompTIA AutoOps+ AT0-001 CompTIA Associate 300 60 $12.99
CAPAArgo CAPA CNCF Associate 300 90 $12.99
CKACertified Kubernetes Administrator (CKA) CNCF Associate 300 120 $12.99