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.
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'
CORRECT TEXT Create a playbookthatchanges the default target onallnodes tomulti-usertarqet. Do this in playbook file called target.yml in/home/sandy/ansible
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.
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.
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
Exam Code: EX294Q & A: 20 Q&AsUpdated: 2025-09-15