[Feb-2022] Latest EX294 Exam Dumps for Pass Guaranteed [Q11-Q27]

Share

[Feb-2022] Latest EX294 Exam Dumps for Pass Guaranteed

Reliable RHCE EX294 Dumps PDF Feb 02, 2022 Recently Updated Questions

NEW QUESTION 11
Create a playbook called webdev.yml in '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 /Webdev to /var/www/html/webdev. Serve a file from Avebdev7index.html which displays the text "Development" Curl http://node1.example.com/webdev/index.html to test

  • A. Solution as:
  • B. Solution as:

Answer: A

 

NEW QUESTION 12
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'

  • A. Solution as:
  • B. Solution as:

Answer: B

 

NEW QUESTION 13
Create a file called packages.yml in /home/sandy/ansible to install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages to the latest.

  • A. Option

    ** NOTE 1 a more acceptable answer is likely 'present' since it's not asking to install the latest state: present
    ** NOTE 2 need to update the development node
    - name: update all packages on development node
    yum:
    name: '*'
    state: latest
  • B. Option

    ** NOTE 1 a more acceptable answer is likely 'present' since it's not asking to install the latest state: present
    ** NOTE 2 need to update the development node
    - name: update all packages on development node
    yum:
    name: '*'
    state: latest

Answer: A

 

NEW QUESTION 14
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.

  • A. Solution as:

  • B. Solution as:

Answer: B

 

NEW QUESTION 15
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/ansible called hosts.yml and install the template on dev node at /root/myhosts

  • A. Solution as:
  • B. Solution as:

Answer: B

 

NEW QUESTION 16
Create a playbook called issue.yml in /home/sandy/ansible which changes the file /etc/issue on all managed nodes: If host is a member of (lev then write "Development" If host is a member of test then write "Test" If host is a member of prod then write "Production"

  • A. Solution as:
  • B. Solution as:

Answer: B

 

NEW QUESTION 17
Create a file called requirements.yml in /home/sandy/ansible/roles to install two roles. The source for the first role is geerlingguy.haproxy and geerlingguy.php. Name the first haproxy-role and the second php-role. The roles should be installed in /home/sandy/ansible/roles.

  • A. in /home/sandy/ansible/roles
    vim requirements.yml

    Run the requirements file from the roles directory:
    ansible-galaxy install -r requirements.yml -p /home/sandy/ansible/roles
  • B. in /home/sandy/ansible/roles
    vim requirements.yml

    Run the requirements file from the roles directory:
    ansible-galaxy install -r requirements.yml -p /home/sandy/ansible/roles

Answer: B

 

NEW QUESTION 18
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

  • A. - name: change default target
    hosts: all
    tasks:
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link
  • B. - name: change default target
    hosts: all
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link

Answer: A

 

NEW QUESTION 19
......


RedHat EX294 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Create a simple script
  • Configure error handling
  • Working with roles
  • Download and use roles from Ansible Galaxy
Topic 2
  • Use the variable to get the results of the command run
  • Use the conditions to control the progress of the game
Topic 3
  • Create and configure file systems
  • User and group management
  • Security management
Topic 4
  • Configure local storage
  • Operating system
Topic 5
  • Unable to create drama and playbook
  • Install the required package
  • Parallel management
Topic 6
  • Create managed managed nodes
  • Configure privilege escalation on managed nodes
Topic 7
  • To protect sensitive data, use Ansible Vault in the user guide
  • Take advantage of additional enhancements
Topic 8
  • Understand the key components of Ancibel Exams, Units, Variable, Facts, Play the manual, configuration file
Topic 9
  • Verify that the functional configuration is correct by using the Ansible custom command
Topic 10
  • Create SSH keys and distribute them to managed nodes
  • Create and use static invariants to define host groups
Topic 11
  • Create an instruction manual to configure the system for a specific situation
  • Learn to work with frequently used Ansible units

 

Latest 2022 Realistic Verified EX294 Dumps: https://actualtests.dumpsquestion.com/EX294-exam-dumps-collection.html