Free EX294: Red Hat Certified Engineer (RHCE) Exam Questions and Answers
5 verified practice questions for EX294.
The first 10 questions on this page are free to read, answers included — no account and no card. A plan opens the rest of the bank, the full timed practice test and your weak-topic reporting.
Last updated: September 19, 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
Create a playbook called regulartasks.yml which has the system that append the date to /root/datefile every day at noon. Name is job 'datejob'
Type your answer, then reveal.
Please select an optionIncorrectCorrect answer: - name: Creates a cron file under /etc/cron.d; cron: name: datejob, hour: "12", user: root, job: "date >> /root/datefile"

Solution as:
Question #2
Create a file called requirements.yml in /home/sandy/ansible/roles to install two roles. The source for the first role is geerlingguy.haproxy and geerlingguy.php. Name the first haproxy-role and the second php-role. The roles should be installed in /home/sandy/ansible/roles.
Type your answer, then reveal.
Please select an optionIncorrectCorrect answer: - src: geerlingguy.haproxy name: haproxy-role; - src: geerlingguy.php_role name: php_role

in /home/sandy/ansible/roles vim requirements.yml Run the requirements file from the roles directory: ansible-galaxy install -r requirements.yml -p /home/sandy/ansible/roles
Question #3
Create an ansible vault password file called lock.yml with the password reallysafepw in the /home/sandy/ansible directory. In the lock.yml file define two variables. One is pw_dev and the password is 'dev' and the other is pw_mgr and the password is 'mgr' Create a regular file called secret.txt which contains the password for lock.yml.
Type your answer, then reveal.
Please select an optionIncorrectCorrect answer: pw_dev: dev; pw_mgr: mgr

ansible-vault create lock.yml New Vault Password: reallysafepw Confirm: reallysafepw In File:
Question #4
Create a file called requirements.yml in /home/sandy/ansible/roles a file called role.yml in /home/sandy/ansible/. The haproxy-role should be used on the proxy host. And when you curl http://node3.example.com it should display "Welcome to node4.example.com" and when you curl again "Welcome to node5.example.com" The php-role should be used on the prod host.
Type your answer, then reveal.
Please select an optionIncorrectCorrect answer: hosts: all; vars haproxy_backend_servers: name web1 address node4.example.com, name web2 address node5.example.com; tasks: include_role haproxy-role when "proxy" in group_names; include_role php-role when "prod" in group_names

Solution as: Check the proxy host by curl http://node3.example.com
Question #5
Create a Shell script /root/program: The shell script will come back to ”user” parameter when you are entering ”kernel” parameter. The shell script will come back to ”kernel” when you are entering ”user” parameter. It will output the standard error when this script ”usage:/root/program kernel|user” don’t input any parameter or the parameter you inputted is entered as the requirements.
Match each item to its target.
Please select an optionIncorrectCorrect answer: #!/bin/bash; param1="$1"; if [ "$param1" == "kernel" ]; then echo "user"; elif [ "$param1" == "user" ]; then echo "kernel"; else echo "usage:/root/program kernel|user"; fi; chmod +x /root/program

Other 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)
Reviews
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah Smith
USA
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar Nyström
Sweden
★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit Sharma
India
FAQ
Learn More: https://www.redhat.com/en/services/certifications
- Q1: 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.
- Q2: 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.
- Q3: 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.
- Q4: 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.
- Q5: What types of Red Hat Certification Exams are available?
- A: Red Hat offers various certification paths, including:
- Q6: 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.
- Q7: 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.
- Q8: 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.
- Q9: 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.
- Q10: 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.



