EX294 Online Practice Questions

Home / RedHat / EX294

Latest EX294 Exam Practice Questions

The practice questions for EX294 exam was last updated on 2025-09-15 .

Viewing page 1 out of 1 pages.

Viewing questions 1 out of 7 questions.

Question#1

CORRECT TEXT
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'

A. Solution as:


Question#2

CORRECT TEXT
Create a playbookthatchanges the default target onallnodes tomulti-usertarqet. Do this in playbook file called target.yml in/home/sandy/ansible

A. name: change default target hosts: all tasks:
name: change target file: src: /usr/lib/systemd/system/multi-user.target dest:/etc/systemd/system/default.target state: link

Question#3

CORRECT TEXT
Create a role called sample-apache in/home/sandy/ansible/rolesthat enables and starts httpd, enables and starts the firewall and allows the webserver service. Create a template calledindex.html.j2which creates and serves a message from/var/www/html/index.html Whenever the content of the file changes, restart the webserver service.
Welcome to [FQDN] on [IP]
Replace the FQDN with the fully qualified domain nameand IP with the ip address of the node using ansible facts. Lastly, create a playbook in/home/sandy/ansible/called apache.ymland use the role to serve the index file on webserver hosts.

A. /home/sandy/ansible/apache.yml



/home/sandy/ansible/roles/sample-apache/tasks/main.yml /home/sandy/ansible/roles/sample-apache/templates/index.html.j2






In /home/sandy/ansible/roles/sample-apache/handlers/main.yml


Question#4

CORRECT TEXT
Create a file calledrequirements.ymlin/home/sandy/ansible/rolesa file calledrole.yml in /home/sandy/ansible/.Thehaproxy-roleshould be used on theproxyhost. And when you curlhttp://node3.example.comit should display "Welcome tonode4.example.com" and when you curl again "Welcome tonode5.example.com"Thephp-roleshould be used on theprod host.

A. Solution as:



Check the proxy host by curlhttp://node3.example.com

Question#5

CORRECT TEXT
Create a jinja template in /home/sandy/ansible/ and name it hosts.j2. Edit this file so it looks
like the one below. The order of the nodes doesn't matter. Then create a playbook in /home/sandy/ansiblecalledhosts.ymland install the template on dev node at /root/myhosts


A. Solution as:


Exam Code: EX294Q & A: 20 Q&AsUpdated:  2025-09-15

 Get All EX294 Q&As