Free EX294: Red Hat Certified Engineer (RHCE) Exam Questions and Answers
Red Hat Certified Engineer (RHCE) exam is part of the Red Hat Certification Program. Red Hat exams are entirely hands-on: there are no multiple-choice questions at all. You are given live systems and real tasks, and you are graded on whether the systems end up working — for the Ansible exam the playbooks you write are re-run against freshly installed machines. Exam codes run EX plus three digits, and the matching training course carries the same digits behind RH.
If you searched for EX294 dumps, an EX294 ExamTopics discussion or a free EX294 PDF, this is the Red Hat Certified Engineer (RHCE) exam question bank: practice questions with verified answers and explanations, a timed EX294 practice test and updates whenever RedHat changes the exam.
Last updated: November 3, 2026
- Provider
- RedHat
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
- Practice format
- Multiple choice
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
On server2, an administrator runs two commands and sees this output: # systemctl get-default graphical.target # systemctl is-active graphical.target active Server2 has no need for a GUI. Configure the system so that it boots into multi-user.target on every future boot, and switch the running system to multi-user.target immediately without rebooting. Which commands complete the task?
Correct answer: A
Explanation
systemctl set-default changes the default.target symlink, so the setting survives a reboot, and systemctl isolate stops units not required by the target and moves the running system there at once. Starting multi-user.target does not stop graphical.target, and enabling a target does not change the default boot target. A daemon-reload only rereads unit files.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #2
The file /home/student/ansible/requirements.yml lists the roles that the playbooks need. From the /home/student/ansible directory, install every role in the file into /home/student/ansible/roles. Which command completes the task?
Correct answer: D
Explanation
ansible-galaxy role install reads a requirements file with -r and writes to the directory given with -p (--roles-path). Without -p, roles go to the default user roles directory instead of the required one. The collection subcommand installs collections, and omitting -r makes the file name be treated as a role name.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #3
The ansible.posix collection is installed on the control node. In a play that runs against the webservers group with privilege escalation enabled, add a task that allows the https service through the firewall immediately and keeps the rule after a reboot. Which task completes the requirement?
Correct answer: A
Explanation
The firewalld module ships in the ansible.posix collection, and it needs permanent: true to write the rule to the saved configuration and immediate: true to apply it to the running firewall. Leaving out immediate changes only the saved configuration, and leaving out permanent loses the rule on reload or reboot. There is no ansible.builtin.firewalld module.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #4
A play defines this variable: web_users: alice: wheel bob: developers Add a task that creates each user in web_users with ansible.builtin.user, using the key as the user name and the value as the supplementary group. Which task completes the requirement?
Correct answer: D
Explanation
The loop keyword needs a list, so the dictionary is converted with dict2items, which yields items that have key and value attributes. Passing the dictionary directly fails because loop does not accept a mapping. The list filter returns only the key strings, and name and groups are not attributes created by dict2items.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #5
On the control node, the user automation has generated the key pair /home/automation/.ssh/id_ed25519 and /home/automation/.ssh/id_ed25519.pub. Write a play that runs against all managed nodes and enables key-based login for the remote user automation with this key. Keys already present in that user's authorized_keys file on the nodes must be preserved. Which task completes the requirement?
Correct answer: A
Explanation
The authorized_key module adds a public key to the user's authorized_keys file, and the file lookup reads the .pub file on the control node. Using the private key file would publish the wrong material. Setting exclusive: true removes every other key, and the copy module replaces the whole authorized_keys file, so both violate the requirement to preserve existing keys.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #6
A playbook named site.yml runs against the webservers group and contains a single debug task that displays {{ http_port }}. The variable is defined as follows: group_vars/webservers.yml: http_port: 80 host_vars/node1.example.com.yml: http_port: 8081 Play vars in site.yml: http_port: 8080 The playbook is started with this command: ansible-navigator run site.yml -m stdout -e http_port=9090 Which value does the debug task display for node1.example.com?
Correct answer: D
Explanation
Extra variables passed with -e have the highest precedence in Ansible, so they override play vars, host_vars and group_vars. The tempting answer is 8081 because host_vars is more specific than group_vars, but that ordering only applies among inventory variables and never beats extra vars.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #7
Playbooks are run as the user devops, who connects to the managed nodes with an SSH key. The ansible.cfg file contains the following: [privilege_escalation] become=true become_method=sudo become_user=root become_ask_pass=false Every play fails with the error "Missing sudo password". On the managed nodes, devops is not a member of any administrative group and has no sudo rules. Playbooks must run without prompting for a password, and no password may be stored in any playbook. Which change completes the requirement?
Correct answer: B
Explanation
Passwordless escalation with sudo needs a sudoers rule with NOPASSWD for the connecting user. Wheel membership on RHEL only grants sudo with a password, so the same error would continue. Switching to su would require the root password, and become_user=devops would not escalate to a privileged account.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #8
Create /home/student/ansible/ansible.cfg so that the inventory file /home/student/ansible/inventory is used by default. Which ansible.cfg content completes the task?
Correct answer: B
Explanation
The default inventory source is set with the inventory key in the [defaults] section. The hostfile key is an obsolete name that current Ansible no longer honors, and [inventory] and [ssh_connection] hold other settings, not the default inventory path.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #9
Create a play that configures a repository on all managed nodes. The repository is named appstream-local, has the description "Local AppStream", uses the base URL http://repo.example.com/rhel9/AppStream, has GPG checking disabled, and is enabled. The configuration must persist after a reboot. Which task completes the requirement?
Correct answer: B
Explanation
ansible.builtin.yum_repository writes a file under /etc/yum.repos.d and needs name, description and baseurl when state is present. The baseurl parameter is not called url, and the dnf module installs packages instead of defining repositories.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #10
A play has already created an XFS file system on /dev/vdb1 on hosts in the dbservers group. Add a task that mounts it on /data right away and also at every boot. Which task completes the requirement?
Correct answer: A
Explanation
state: mounted mounts the device immediately and adds an entry to /etc/fstab. State present only writes the fstab entry, ephemeral mounts without touching fstab, and remounted only remounts a file system that is already mounted.
Continue with EX294: Red Hat Certified Engineer (RHCE) exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in EX294: Red Hat Certified Engineer (RHCE) exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterOther RedHat certifications
- EX200: Red Hat Certified System Administrator (RHCSA) (opens in a new tab)
- EX407: Red Hat Certified Specialist in Ansible Automation exam (opens in a new tab)
- EX300: Red Hat Certified Engineer (RHCE) (opens in a new tab)
- Red Hat Certified Specialist in OpenShift Data Foundation (opens in a new tab)
- Red Hat Certified Specialist in Messaging Administration (opens in a new tab)
- Red Hat Certified Specialist in Ceph Cloud Storage (opens in a new tab)
- Red Hat Certified Specialist in OpenShift Application Development (opens in a new tab)
- Red Hat Certified Specialist in MultiCluster Management (opens in a new tab)
- Red Hat Certified Architect (RHCA) (opens in a new tab)
- Red Hat Certified Specialist in Security: Linux (opens in a new tab)
- Red Hat Certified Specialist in API Management (opens in a new tab)
- Red Hat Certified Specialist in Containers and Kubernetes (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://www.redhat.com/en/services/certifications
- Q1: What is the EX294: Red Hat Certified Engineer (RHCE) exam exam?
- A: EX294: Red Hat Certified Engineer (RHCE) exam is a RedHat certification exam. Judging by the questions in our bank, it concentrates on sandy, ansible, lock.yml, home and parameter.
- Q2: What topics does the EX294: Red Hat Certified Engineer (RHCE) exam exam cover?
- A: Questions in our EX294: Red Hat Certified Engineer (RHCE) exam bank cluster around sandy, ansible, lock.yml, home, parameter, kernel, script and shell. Working through the full set is the quickest way to find which of these you are weakest on.
- Q3: How should I prepare for EX294: Red Hat Certified Engineer (RHCE) exam?
- A: Work through the EX294: Red Hat Certified Engineer (RHCE) exam practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q4: Are these real EX294: Red Hat Certified Engineer (RHCE) exam exam questions?
- A: They are drawn from officially released past questions and from community members who have sat EX294: Red Hat Certified Engineer (RHCE) exam. Answers are verified and updated weekly.
- Q5: Where do I register for the EX294: Red Hat Certified Engineer (RHCE) exam exam?
- A: Register through RedHat directly. Exampractice is not affiliated with RedHat and does not administer the exam.
- Q6: Is there a free EX294: Red Hat Certified Engineer (RHCE) exam sample?
- A: Yes. Every EX294: Red Hat Certified Engineer (RHCE) exam page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q7: What are Red Hat Certification Exams?
- A: Red Hat Certification Exams validate your expertise in using and managing Red Hat's open-source software and Linux-based solutions. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Red Hat technologies to support enterprise IT infrastructure.
- Q8: Why should I pursue Red Hat Certification?
- A: Red Hat Certification enhances your professional credibility, showcasing your skills and knowledge in Linux and open-source solutions. This can lead to better job opportunities, higher salaries, and career advancement in IT, system administration, and DevOps roles.
- Q9: What are the benefits of Red Hat Certification?
- A: Benefits include recognition as a certified Red Hat professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Red Hat technologies and best practices.
- Q10: Who should take Red Hat Certification Exams?
- A: System administrators, developers, IT professionals, and anyone involved in managing and implementing Red Hat solutions should consider these certifications to validate their expertise and advance their careers.
- Q11: What types of Red Hat Certification Exams are available?
- A: Red Hat offers various certification paths, including:
- Q12: How do I prepare for Red Hat Certification Exams?
- A: Preparation can include official Red Hat training courses, study guides, practice exams, online tutorials, and hands-on experience with Red Hat products and solutions.
- Q13: Where can I take Red Hat Certification Exams?
- A: Red Hat Certification Exams can be taken at authorized Red Hat testing centers worldwide or online with remote proctoring, providing flexibility to fit your schedule and location.
- Q14: How do Red Hat Certifications impact my career?
- A: Red Hat Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT, system administration, and DevOps.
- Q15: Are there any prerequisites for Red Hat Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Red Hat products. Check the specific requirements for each certification path on the Red Hat certification website.
- Q16: How often do I need to recertify for Red Hat Certifications?
- A: Red Hat Certifications typically require recertification every three years to ensure that certified professionals stay updated with the latest technologies and industry practices.



