Free EX294 Exam Dumps

No Installation Required, Instantly Prepare for the EX294 exam and please click the below link to start the EX294 Exam Simulator with a real EX294 practice exam questions.
Use directly our on-line EX294 exam dumps materials and try our Testing Engine to pass the EX294 which is always updated.

  • Exam Code: EX294
  • Exam Title: Red Hat Certified Engineer (RHCE) exam
  • Vendor: Red-Hat
  • Exam Questions: 20
  • Last Updated: December 18th,2024

Question 1

Create a file called specs.empty in home/bob/ansible on the local machine as follows: HOST=
MEMORY= BIOS=
VDA_DISK_SIZE= VDB_DISK_SIZE=
Create the playbook /home/bob/ansible/specs.yml which copies specs.empty to all remote nodes' path/root/specs.txt. Using the specs.yml playbook then edit specs.txt on the remote machines to reflect the appropriate ansible facts.
Solution:
Solution as:
EX294 dumps exhibit
EX294 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 2

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 3

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

Question 4

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 5

In /home/sandy/ansible/create a playbook calledlogvol.yml. Inthe play create a logical volume calledIv0and make it of size 1500MiB on volume groupvgOIf there is not enough space in the volume groupprinta message "Not enough space for logical volume"and then make a 800MiBIv0instead. If the volume group still doesn't exist, create a message"Volume group doesn't exist"Create anxfsfilesystem on allIv0logical volumes. Don't mount the logical volume.
Solution:
Solution as:
EX294 dumps exhibit

Does this meet the goal?

Correct Answer:A