Latest [Dec 26, 2021] 100% Passing Guarantee - Brilliant EX294 Exam Questions PDF
EX294 Certification – Valid Exam Dumps Questions Study Guide! (Updated 20 Questions)
NEW QUESTION 11
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: A
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
Install and configure ansible
User bob has been created on your control node. Give him the appropriate permissions on the control node. Install the necessary packages to run ansible on the control node.
Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements:
* The roles path should include /home/bob/ansible/roles, as well as any other path that may be required for the course of the sample exam.
* The inventory file path is /home/bob/ansible/inventory.
* Ansible should be able to manage 10 hosts at a single time.
* Ansible should connect to all managed nodes using the bob user.
Create an inventory file for the following five nodes:
nodel.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node1 is a member of group dev. nodc2 is a member of group test, nodc3 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
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 - 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 14
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 15
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 16
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: B
NEW QUESTION 17
Create the users in the file usersjist.yml file provided. Do this in a playbook called users.yml located at /home/sandy/ansible. The passwords for these users should be set using the lock.yml file from TASK7. When running the playbook, the lock.yml file should be unlocked with secret.txt file from TASK 7.
All users with the job of 'developer' should be created on the dev hosts, add them to the group devops, their password should be set using the pw_dev variable. Likewise create users with the job of 'manager' on the proxy host and add the users to the group 'managers', their password should be set using the pw_mgr variable.
- A. ansible-playbook users.yml -vault-password-file=secret.txt

- B. ansible-playbook users.yml -vault-password-file=secret.txt

Answer: A
NEW QUESTION 18
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 19
......
Red Hat RHCE Exam Syllabus Topics:
| Section | Objectives |
|---|---|
| Use Ansible modules for system administration tasks that work with: | - Software packages and repositories - Services - Firewall rules - File systems - Storage devices - File content - Archiving - Scheduled tasks - Security - Users and groups |
| Be able to perform all tasks expected of a Red Hat Certified System Administrator | - Understand and use essential tools - Operate running systems - Configure local storage - Create and configure file systems - Deploy, configure, and maintain systems - Manage users and groups - Manage security |
| Understand core components of Ansible | - Inventories - Modules - Variables - Facts - Plays - Playbooks - Configuration files - Use provided documentation to look up specific information about Ansible modules and commands |
| Install and configure an Ansible control node | - Install required packages - Create a static host inventory file - Create a configuration file - Create and use static inventories to define groups of hosts - Manage parallelism |
| Configure Ansible managed nodes | - Create and distribute SSH keys to managed nodes - Configure privilege escalation on managed nodes - Validate a working configuration using ad hoc Ansible commands |
| Use advanced Ansible features | - Create and use templates to create customized configuration files - Use Ansible Vault in playbooks to protect sensitive data |
| Script administration tasks | - Create simple shell scripts - Create simple shell scripts that run ad hoc Ansible commands |
| Create Ansible plays and playbooks | - Know how to work with commonly used Ansible modules - Use variables to retrieve the results of running a command - Use conditionals to control play execution - Configure error handling - Create playbooks to configure systems to a specified state |
| Work with roles | - Create roles - Download roles from an Ansible Galaxy and use them |
Red Hat EX294 Exam Certification Details:
| Exam Price | $400 USD |
| Exam Code | EX294 |
| Schedule Exam | PEARSON VUE |
| Duration | 240 minutes |
| Exam Name | Red Hat Certified Engineer (RHCE) |
| Number of Questions | 20 |
| Passing Score | 210 / 300 |
| Sample Questions | Red Hat EX294 Sample Questions |
EX294 are Available for Instant Access: https://www.torrentvalid.com/EX294-valid-braindumps-torrent.html
EX294 Dumps 2021 - New RedHat EX294 Exam Questions: https://drive.google.com/open?id=1_cT946afulDCkHneaOcEcwVEpoGcc5B9