Exam Details

  • Exam Code
    :EX294
  • Exam Name
    :Red Hat Certified Engineer (RHCE)
  • Certification
    :Red Hat Certifications
  • Vendor
    :Red Hat
  • Total Questions
    :75 Q&As
  • Last Updated
    :Mar 03, 2025

Red Hat Red Hat Certifications EX294 Questions & Answers

  • Question 71:

    Create a playbook called balance.yml as follows:

    * The playbook contains a play that runs on hosts in balancers host group and uses

    the balancer role.

    --> This role configures a service to loadbalance webserver requests between hosts

    in the webservers host group.curl

    --> When implemented, browsing to hosts in the balancers host group (for example

    http://node5.example.com) should produce the following output:

    Welcome to node3.example.com on 192.168.10.z

    --> Reloading the browser should return output from the alternate web server: Welcome to node4.example.com on 192.168.10.a

    * The playbook contains a play that runs on hosts in webservers host group and uses

    the phphello role.

    --> When implemented, browsing to hosts in the webservers host group with the URL /

    hello.php should produce the following output:

    Hello PHP World from FQDN

    --> where FQDN is the fully qualified domain name of the host. For example,

    browsing to http://node3.example.com/hello.php, should produce the following output:

    Hello PHP World from node3.example.com

    * Similarly, browsing to http://node4.example.com/hello.php, should produce the

    following output:

    Hello PHP World from node4.example.com

    A. Answer: See the for complete Solution below.

  • Question 72:

    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

    A.

    Answer: See the for complete Solution below.

  • Question 73:

    Create Logical volumes with lvm.yml in all nodes according to following

    requirements.

    *

    Create a new Logical volume named as 'data'

    *

    LV should be the member of 'research' Volume Group

    *

    LV size should be 1500M

    *

    It should be formatted with ext4 file-system.

    --> If Volume Group does not exist then it should print the message "VG Not found"

    --> If the VG can not accommodate 1500M size then it should print "LV Can not be

    created with

    following size", then the LV should be created with 800M of size.

    --> Do not perform any mounting for this LV.

    A. Answer: See the for complete Solution below.

  • Question 74:

    Create a playbook called web.yml as follows:

    *

    The playbook runs on managed nodes in the "dev" host group

    *

    Create the directory /webdev with the following requirements: --> membership in the apache group --> regular permissions: owner=r+w+execute, group=r+w+execute, other=r+execute s.p=set group-id

    *

    Symbolically link /var/www/html/webdev to /webdev

    *

    Create the file /webdev/index.html with a single line of text that reads: “Development” --> it should be available on http://servera.lab.example.com/webdev/index.html

    A.

    Answer: See the for complete Solution below.

  • Question 75:

    Create user accounts

    --> A list of users to be created can be found in the file called user_list.yml

    which you should download from http://classroom.example.com/user_list.yml and save to /home/admin/ansible/

    --> Using the password vault created elsewhere in this exam, create a playbook called

    create_user.yml

    that creates user accounts as follows:

    --> Users with a job description of developer should be:

    --> created on managed nodes in the "dev" and "test" host groups assigned the

    password from the "dev_pass"

    variable and these user should be member of supplementary group "devops".

    --> Users with a job description of manager should be:

    --> created on managed nodes in the "prod" host group assigned the password from

    the "mgr_pass" variable

    and these user should be member of supplementary group "opsmgr"

    --> Passwords should use the "SHA512" hash format. Your playbook should work using

    the vault password file

    created elsewhere in this exam.

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

    questation.

    user_list.yml file consist:

    user:

    -

    name: user1

    job: developer

    -

    name: user2

    job: manager

    A. Answer: See the for complete Solution below.

  • Question 76:

    SIMULATION

    Make on /storage directory that only the user owner and group owner member can fully access.

    A.

  • Question 77:

    SIMULATION

    Whoever creates the files/directories on /storage group owner should be automatically should be the same group owner of /storage.

    A.

  • Question 78:

    SIMULATION

    Install the Cron Schedule for jeff user to display "Hello" on daily 5:30.

    A.

  • Question 79:

    SIMULATION

    Give Full Permission to owner user and owner group member but no permission to others on /data.

    A.

  • Question 80:

    SIMULATION

    Whoever creates the file on /data make automatically owner group should be the group owner of /data directory.

    A.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Red Hat exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your EX294 exam preparations and Red Hat certification application, do not hesitate to visit our Vcedump.com to find your solutions here.