Online EX294 Practice TestMore Red-Hat Products >

Free Red-Hat EX294 Exam Dumps Questions

Red-Hat EX294: Red Hat Certified Engineer (RHCE) exam

- Get instant access to EX294 practice exam questions

- Get ready to pass the Red Hat Certified Engineer (RHCE) exam exam right now using our Red-Hat EX294 exam package, which includes Red-Hat EX294 practice test plus an Red-Hat EX294 Exam Simulator.

- The best online EX294 exam study material and preparation tool is here.

4.5 
(2145 ratings)

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'
Solution:
Solution as:
EX294 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 2

Create an empty encrypted file calledmyvault.yml in /home/sandy/ansibleand set the passwordtonotsafepw. Rekey the passwordtoiwejfj2221.
Solution:
ansible-vault create myvault.yml
Create new password: notsafepw Confirm password: notsafepwansible-vault rekeymyvault.yml
Current password: notsafepw New password: iwejfj2221 Confirm password: iwejfj2221

Does this meet the goal?

Correct Answer:A

Question 3

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.
Solution:
EX294 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 4

Create a playbook calledwebdev.ymlin'home/sandy/ansible. The playbook will create a directory Avcbdev on dev host. The permission of the directory are 2755 and owner is webdev. Create a symbolic link from /Webdevto /var/www/html/webdev. Serve a file from Avebdev7index.html which displays the text "Development" Curlhttp://node1.example.com/webdev/index.htmlto test
Solution:
Solution as:
EX294 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 5

Install and configure ansible
Userbobhas been created on your control node. Give him the appropriate permissions on thecontrol node. Install the necessary packages to run ansible on the control node.
Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements:
• The roles path should include /home/bob/ansible/roles, as well as any otherpath that may be required for the course of the sample exam.
• The inventory file path is /home/bob/ansible/inventory.
• Ansible should be able to manage 10 hosts at a single time.
• Ansible should connect to all managed nodes using the bobuser.
Create an inventory file for the following five nodes: nodel.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node1 is a member of groupdev.nodc2 is a member of group test, nodc3 is a member of groupproxy,nodc4 and node 5 are members of groupprod.Also,prodis a member of group webservers.
Solution:

In/home/sandy/ansible/ansible.cfg
[defaults]
inventory=/home/sandy/ansible/inventory
roles_path=/home/sandy/ansible/roles
remote_user= sandy
host_key_checking=false
[privilegeescalation]
become=true
become_user=root
become_method=sudo
become_ask_pass=false
In /home/sandy/ansible/inventory
[dev]
node 1 .example.com
[test]
node2.example.com
[proxy]
node3 .example.com
[prod]
node4.example.com
node5 .example.com
[webservers:children]
prod

Does this meet the goal?

Correct Answer:A

Question 6

Create the users in the fileusersjist.ymlfile provided. Do this in a playbook called users.yml located at
/home/sandy/ansible.The passwords for these users should be set using thelock.ymlfile from TASK7. When running the playbook, the lock.yml file should be unlocked withsecret.txtfile from TASK 7.
All users with the job of 'developer' should be created on thedevhosts, add them to the group devops, their password should be set using thepw_devvariable. Likewise create users with the job of 'manager' on theproxy
host and add the users to the group 'managers', their password should be set using thepw_mgrvariable.
EX294 dumps exhibit
Solution:
ansible-playbook users.yml –vault-password-file=secret.txt
EX294 dumps exhibit

Does this meet the goal?

Correct Answer:A

START EX294 EXAM