Most UptoDate RedHat EX294 Exam Dumps PDF 2021 [Q11-Q36]

Share

Most UptoDate RedHat EX294 Exam Dumps PDF 2021

100% Free RHCE EX294 Dumps PDF Demo Cert Guide Cover


RedHat EX294 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Understand and use basic tools
  • System deployment, configuration and maintenance
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
  • Unable to create drama and playbook
  • Install the required package
  • Parallel management
Topic 4
  • Features Use system modules that work with Software package and storage, Firewall rules, storage devices, Users and groups
Topic 5
  • Create and configure file systems
  • User and group management
  • Security management
Topic 6
  • Configure local storage
  • Operating system
Topic 7
  • Create simple shell scripts that run custom Ansible commands
  • Administrative work scenario
Topic 8
  • Verify that the functional configuration is correct by using the Ansible custom command
Topic 9
  • Use the documentation provided to get specific information about the available modules and commands
Topic 10
  • Create an instruction manual to configure the system for a specific situation
  • Learn to work with frequently used Ansible units
Topic 11
  • Install and configure a compatible control unit
  • Create a static host inventory file
  • Create a configuration file
Topic 12
  • Create SSH keys and distribute them to managed nodes
  • Create and use static invariants to define host groups
Topic 13
  • Create managed managed nodes
  • Configure privilege escalation on managed nodes
Topic 14
  • Understand the key components of Ancibel Exams, Units, Variable, Facts, Play the manual, configuration file
Topic 15
  • Create a simple script
  • Configure error handling
  • Working with roles
  • Download and use roles from Ansible Galaxy
Topic 16
  • To protect sensitive data, use Ansible Vault in the user guide
  • Take advantage of additional enhancements

 

NEW QUESTION 11
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 12
In /home/sandy/ansible/ create a playbook called logvol.yml. In the play create a logical volume called Iv0 and make it of size 1500MiB on volume group vgO If there is not enough space in the volume group print a message "Not enough space for logical volume" and then make a 800MiB Iv0 instead. If the volume group still doesn't exist, create a message "Volume group doesn't exist" Create an xfs filesystem on all Iv0 logical volumes. Don't mount the logical volume.

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

Answer: B

 

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

  • A. Solution as:

  • B. Solution as:

Answer: A

 

NEW QUESTION 14
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: A

 

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

  • A. chmod 0117 adhoc.sh
    vim adhoc.sh
    #I/bin/bash
    ansible all -m yum_repository -a 'name=EPEL description=RHEL8
    baseurl=https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rmp gpgcheck=no enabled=yes'
  • B. chmod 0777 adhoc.sh
    vim adhoc.sh
    #I/bin/bash
    ansible all -m yum_repository -a 'name=EPEL description=RHEL8
    baseurl=https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rmp gpgcheck=no enabled=yes'

Answer: B

 

NEW QUESTION 16
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 17
Install and configure ansible
User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory.
You will have access to 5 nodes.
node1.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.

  • A. 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_ask_pass=false
    In /home/sandy/ansible/inventory
    [dev]
    node 1 .example.com
    [test]
    node2.example.com
    node4.example.com
    node5 .example.com
    [webservers:children]
    prod
  • B. 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

Answer: B

 

NEW QUESTION 18
Create a role called sample-apache in /home/sandy/ansible/roles that enables and starts httpd, enables and starts the firewall and allows the webserver service. Create a template called index.html.j2 which creates and serves a message from /var/www/html/index.html Whenever the content of the file changes, restart the webserver service.
Welcome to [FQDN] on [IP]
Replace the FQDN with the fully qualified domain name and IP with the ip address of the node using ansible facts. Lastly, create a playbook in /home/sandy/ansible/ called apache.yml and use the role to serve the index file on webserver hosts.

  • A. Option

    /home/sandy/ansible/roles/sample-apache/tasks/main.yml

    /home/sandy/ansible/roles/sample-apache/templates/index.html.j2

    In /home/sandy/ansible/roles/sample-apache/handlers/main.yml
  • B. Option

    /home/sandy/ansible/roles/sample-apache/tasks/main.yml

    /home/sandy/ansible/roles/sample-apache/templates/index.html.j2
    In /home/sandy/ansible/roles/sample-apache/handlers/main.yml

Answer: A

 

NEW QUESTION 19
......

Updated RedHat EX294 Dumps – PDF & Online Engine: https://www.actual4exams.com/EX294-valid-dump.html

PDF Exam Material 2021 Realistic EX294 Dumps Questions: https://drive.google.com/open?id=1fOFwCmxjdVGDLZEgTTB5CkCNWauBJBCJ