All Red Hat exams
Red Hat EX294: Red Hat Certified Engineer (RHCE) exam, Red Hat Enterprise Linux
What the EX294 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Level
- Professional
- Topic areas
- 2
- Free practice questions
- 30
- Full question bank
- 100 questions
What the EX294 exam covers
The topic areas in our EX294 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Automation with Ansible | 53% | 53 |
| Linux System Administration | 47% | 47 |
EX294 cost and format
| Exam code | EX294 |
|---|---|
| Certification | RHCE |
| Vendor | Red Hat |
| Level | Professional |
| Status | Active |
Last checked October 22, 2026 against the official Red Hat exam page.
EX294 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Automation with Ansible
An administrator wants to run the same playbook against a group of web servers defined in an inventory file. Which option selects only that group?
- ARunning ansible-playbook site.yml with no -i option so Ansible falls back to localhost as the target
- BHardcoding the IP addresses of each web server into the playbook's tasks
- Cansible-playbook -i inventory.ini site.yml with the hosts key set to the group name
- DRunning the playbook locally on the control node with connection: local so no remote hosts are reached
Show answer and explanationHide answer
Correct answer: CThe hosts key in the play selects the inventory group, and the -i option points to the inventory file. Running without an inventory or on the control node only does not target the web servers, and hardcoding addresses is fragile.
Question 2Linux System Administration
A system must have a static IP address that persists across reboots on Red Hat Enterprise Linux 9. Which tool should be used?
- AEditing the desktop wallpaper and screensaver preferences in Settings
- BChanging the hostname in /etc/hosts and leaving the IP address unchanged
- CNetworkManager with nmcli to configure the connection profile
- DRunning ifconfig eth0 192.168.1.50 netmask 255.255.255.0 until the next reboot
Show answer and explanationHide answer
Correct answer: CNetworkManager and nmcli store connection profiles that persist across reboots. Temporary commands without saving, wallpaper settings and hostname changes do not configure the IP address persistently.
Question 3Automation with Ansible
Which ansible.cfg setting tells Ansible where to find the default inventory file?
- Ahosts under the [connection] section
- Bvault_password under the [ssh] section
- Croles under the [privilege] section
- Dinventory under the [defaults] section
Show answer and explanationHide answer
Correct answer: DThe inventory setting under [defaults] defines the default inventory path. The other keys belong to different concerns or are not inventory settings.
Question 4Linux System Administration
Which command sets the system hostname persistently on Red Hat Enterprise Linux?
- Aecho server1.example.com > /tmp/hostnames/current.conf
- Bnmcli hostname set server1 --temporary --apply-now
- Chostnamectl set-hostname server1.example.com
- Dping -c 3 -W 2 -I eth0 -q -n -O server1.example.com
Show answer and explanationHide answer
Correct answer: Chostnamectl writes the persistent hostname. Writing to a temporary file, nmcli syntax and ping options do not set the hostname properly.
Question 5Automation with Ansible
A playbook must run commands with root privileges on managed hosts. Which play keyword enables privilege escalation?
- Abecome: true
- Broot: enabled
- Cprivileged: yes
- Dsudo_only: true
Show answer and explanationHide answer
Correct answer: Abecome: true enables privilege escalation, which uses sudo by default. The other keywords are not Ansible play directives.
How to prepare for EX294
- Read the official Red Hat outline first (exam page), so you know exactly what is in scope.
- Give the most time to Automation with Ansible and Linux System Administration: together they make up 100% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full EX294 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 100-question bank for EX294 is in final review. The free practice test is open now.
Start the free practice testEX294 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| EX200: Red Hat Certified System Administrator (RHCSA) exam | Red Hat | Associate |
| DOP-C02: AWS Certified DevOps Engineer - Professional | AWS | Professional |
| Professional Cloud DevOps Engineer | Google Cloud | Professional |
| KCNA: Kubernetes and Cloud Native Associate | Linux Foundation / CNCF | Foundational |
| AZ-400: Designing and Implementing Microsoft DevOps Solutions | Microsoft | Expert |
| GH-200: GitHub Actions | Microsoft | Associate |