[Jan 08, 2022] EX294 Dumps PDF and Test Engine Exam Questions - DumpsTorrent [Q10-Q29]

Share

[Jan 08, 2022] EX294 Dumps PDF and Test Engine Exam Questions - DumpsTorrent

Verified EX294 exam dumps Q&As with Correct 20 Questions and Answers

NEW QUESTION 10
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 11
Create a file called requirements.yml in /home/sandy/ansible/roles a file called role.yml in /home/sandy/ansible/. The haproxy-role should be used on the proxy host. And when you curl http://node3.example.com it should display "Welcome to node4.example.com" and when you curl again "Welcome to node5.example.com" The php-role should be used on the prod host.

  • A. Solution as:

    Check the proxy host by curl http://node3.example.com
  • B. Solution as:

    Check the proxy host by curl http://node3.example.com

Answer: B

 

NEW QUESTION 12
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 13
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 14
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 15
Create an empty encrypted file called myvault.yml in /home/sandy/ansible and set the password to notsafepw. Rekey the password to iwejfj2331.

  • A. ansible-vault create myvault.yml
    Create new password: notsafepw Confirm password: notsafepw ansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2221 Confirm password: iwejfj2221
  • B. ansible-vault create myvault.yml
    Create new password: notsafepw Confirm password: notsafepw ansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2331 Confirm password: iwejfj2221

Answer: A

 

NEW QUESTION 16
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
    - 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
    tasks:
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link

Answer: B

 

NEW QUESTION 17
Create a playbook called timesvnc.yml in /home/sandy/ansible using rhel system role timesync. Set the time to use currently configured nip with the server 0.uk.pool.ntp.org. Enable burst. Do this on all hosts.

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

Answer: A

 

NEW QUESTION 18
......


Red Hat EX294 Exam Certification Details:

Exam Price$400 USD
Exam NameRed Hat Certified Engineer (RHCE)
Exam CodeEX294
Passing Score210 / 300
Schedule ExamPEARSON VUE
Sample QuestionsRed Hat EX294 Sample Questions
Duration240 minutes
Number of Questions20


RedHat EX294 Exam Syllabus Topics:

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

 

RedHat EX294 Test Engine PDF - All Free Dumps: https://www.dumpstorrent.com/EX294-exam-dumps-torrent.html

Get New EX294 Certification – Valid Exam Dumps Questions: https://drive.google.com/open?id=1Svy4uDObvDvkZgBJzTvfOTSiGINNZf1a