Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Red Hat Certified Engineer (RHCE) exam for Red Hat Enterprise Linux 8

Last Update 9 hours ago Total Questions : 35

The Red Hat Certified Engineer (RHCE) exam for Red Hat Enterprise Linux 8 content is now fully updated, with all current exam questions added 9 hours ago. Deciding to include EX294 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our EX294 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these EX294 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Red Hat Certified Engineer (RHCE) exam for Red Hat Enterprise Linux 8 practice test comfortably within the allotted time.

Question # 1

Create a playbook that changes the default target on all nodes to multi-user tarqet. Do this in playbook file called target.yml in /home/sandy/ansible

Question # 2

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 '

Question # 3

Create a file in /home/sandy/ansible/ called report.yml. Using this playbook, get a file called report.txt (make it look exactly as below). Copy this file over to all remote hosts at /root/report.txt. Then edit the lines in the file to provide the real information of the hosts. If a disk does not exist then write NONE.

Question # 4

Install and configure Ansible on the control-node control.realmX.example.com as

follows:

-------------------------------------------------------------------------------------------

-- > Install the required packages

-- > Create a static inventory file called /home/admin/ansible/inventory as follows:

node1.realmX.example.com is a member of the dev host group

node2.realmX.example.com is a member of the test host group

node3.realmX.example.com & node4.realmX.example.com are members of the prod

host group

node5.realmX.example.com is a member of the balancers host group.

prod group is a member of the webservers host group

-- > Create a configuration file called ansible.cfg as follows:

-- > The host inventory file /home/admin/ansible/inventory is defined

-- > The location of roles used in playbooks is defined as /home/admin/ansible/ roles

Question # 5

Rekey an existing Ansible vault as follows:

-----------------------------------------------

* Download Ansible vault from http:// classroom.example.com /secret.yml to /home/

admin/ansible/

* The current vault password is curabete

* The new vault password is newvare

* The vault remains in an encrypted state with the new password

Question # 6

Create a playbook called hwreport.yml that produces an output file called /root/

hwreport.txt on all managed nodes with the following information:

------------------------------------------------------------------------------------------------------

-- > Inventory host name

-- > Total memory in MB

-- > BIOS version

-- > Size of disk device vda

-- > Size of disk device vdb

Each line of the output file contains a single key-value pair.

* Your playbook should:

-- > Download the file hwreport.empty from the URL http://classroom.example.com/

hwreport.empty and

save it as /root/hwreport.txt

-- > Modify with the correct values.

note: If a hardware item does not exist, the associated value should be set to NONE

----------------------------------------------------------------------------------------------

while practising you to create these file hear. But in exam have to download as per

questation.

hwreport.txt file consists.

my_sys=hostname

my_BIOS=biosversion

my_MEMORY=memory

my_vda=vdasize

my_vdb=vdbsize

Question # 7

Create a file called adhoc.sh in /home/sandy/ansible which will use adhoc commands to set up a new repository. The name of the repo will be ' EPEL ' the description ' RHEL8 ' the baseurl is ' https://dl.fedoraproject.org/pub/epel/epel - release-latest-8.noarch.rmp ' there is no gpgcheck, but you should enable the repo.

* You should be able to use an bash script using adhoc commands to enable repos. Depending on your lab setup, you may need to make this repo " state=absent " after you pass this task.

Question # 8

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.

Question # 9

Modify file content.

------------------------

Create a playbook called /home/admin/ansible/modify.yml as follows:

* The playbook runs on all inventory hosts

* The playbook replaces the contents of /etc/issue with a single line of text as

follows:

-- > On hosts in the dev host group, the line reads: “Development”

-- > On hosts in the test host group, the line reads: “Test”

-- > On hosts in the prod host group, the line reads: “Production”

Question # 10

Create an Ansible vault to store user passwords as follows:

* The name of the vault is valut.yml

* The vault contains two variables as follows:

- dev_pass with value wakennym

- mgr_pass with value rocky

* The password to encrypt and decrypt the vault is atenorth

* The password is stored in the file /home/admin/ansible/password.txt