This page was exported from Latest Exam Prep [ http://certify.vceprep.com ] Export date:Sat Sep 21 12:43:35 2024 / +0000 GMT ___________________________________________________ Title: EX294 PDF Dumps Jun 08, 2022 Exam Questions – Valid EX294 Dumps [Q10-Q29] --------------------------------------------------- EX294 PDF Dumps Jun 08, 2022 Exam Questions – Valid EX294 Dumps Ultimate EX294 Guide to Prepare Free Latest RedHat Practice Tests Dumps Red Hat EX294 Exam Certification Details: Sample QuestionsRed Hat EX294 Sample QuestionsExam NameRed Hat Certified Engineer (RHCE)Exam Price$400 USDNumber of Questions20Schedule ExamPEARSON VUEPassing Score210 / 300Duration240 minutes Red Hat RHCE Exam Syllabus Topics: SectionObjectivesInstall 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 parallelismUnderstand core components of Ansible- Inventories- Modules- Variables- Facts- Plays- Playbooks- Configuration files- Use provided documentation to look up specific information about Ansible modules and commandsScript administration tasks- Create simple shell scripts- Create simple shell scripts that run ad hoc Ansible commandsCreate 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 stateUse advanced Ansible features- Create and use templates to create customized configuration files- Use Ansible Vault in playbooks to protect sensitive dataWork with roles- Create roles- Download roles from an Ansible Galaxy and use themBe 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   NEW QUESTION 10Create a playbook called regulartasks.yml which has the system that append the date to /root/datefile every day at noon. Name is job ‘datejob’  Solution as:  Solution as: NEW QUESTION 11Create 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.  Option/home/sandy/ansible/roles/sample-apache/tasks/main.yml/home/sandy/ansible/roles/sample-apache/templates/index.html.j2In /home/sandy/ansible/roles/sample-apache/handlers/main.yml  Option/home/sandy/ansible/roles/sample-apache/tasks/main.yml/home/sandy/ansible/roles/sample-apache/templates/index.html.j2In /home/sandy/ansible/roles/sample-apache/handlers/main.yml NEW QUESTION 12Create 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.  chmod 0117 adhoc.shvim adhoc.sh#I/bin/bashansible all -m yum_repository -a ‘name=EPEL description=RHEL8baseurl=https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rmp gpgcheck=no enabled=yes’  chmod 0777 adhoc.shvim adhoc.sh#I/bin/bashansible all -m yum_repository -a ‘name=EPEL description=RHEL8baseurl=https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rmp gpgcheck=no enabled=yes’ NEW QUESTION 13Create 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”  Solution as:  Solution as: NEW QUESTION 14Create 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  Solution as:  Solution as: NEW QUESTION 15Create 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.  ansible-playbook users.yml -vault-password-file=secret.txt  ansible-playbook users.yml -vault-password-file=secret.txt NEW QUESTION 16Create an ansible vault password file called lock.yml with the password reallysafepw in the /home/sandy/ansible directory. In the lock.yml file define two variables. One is pw_dev and the password is ‘dev’ and the other is pw_mgr and the password is ‘mgr’ Create a regular file called secret.txt which contains the password for lock.yml.  ansible-vault create lock.ymlNew Vault Password: reallysafepwConfirm: reallysafepw  ansible-vault create lock.ymlNew Vault Password: reallysafepw NEW QUESTION 17Create a playbook /home/bob /ansible/motd.yml that runs on all inventory hosts and docs the following: The playbook should replaee any existing content of/etc/motd in the following text. Use ansible facts to display the FQDN of each host On hosts in the dev host group the line should be “Welcome to Dev Server FQDN”.On hosts in the webserver host group the line should be “Welcome to Apache Server FQDN”.On hosts in the database host group the line should be “Welcome to MySQL Server FQDN”.  /home/sandy/ansible/apache.yml/home/sandy/ansible/roles/sample-apache/tasks/main.yml  /home/sandy/ansible/apache.yml/home/sandy/ansible/roles/sample-apache/tasks/main.yml  Loading … Passing Key To Getting EX294 Certified Exam Engine PDF: https://www.vceprep.com/EX294-latest-vce-prep.html --------------------------------------------------- Images: https://certify.vceprep.com/wp-content/plugins/watu/loading.gif https://certify.vceprep.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-06-08 01:52:32 Post date GMT: 2022-06-08 01:52:32 Post modified date: 2022-06-08 01:52:32 Post modified date GMT: 2022-06-08 01:52:32