This page was exported from Free Exam Dumps Collection [ http://free.examcollectionpass.com ] Export date:Wed Nov 27 22:45:42 2024 / +0000 GMT ___________________________________________________ Title: Free RHCE EX294 Ultimate Study Guide (Updated 20 Questions) [Q12-Q32] --------------------------------------------------- Free RHCE EX294 Ultimate Study Guide (Updated 20 Questions) Get to the Top with EX294 Practice Exam Questions Red Hat EX294 Exam Certification Details: Sample QuestionsRed Hat EX294 Sample QuestionsPassing Score210 / 300Exam NameRed Hat Certified Engineer (RHCE)Number of Questions20Duration240 minutesSchedule ExamPEARSON VUEExam CodeEX294 RedHat EX294 Exam Syllabus Topics: TopicDetailsTopic 1Use the variable to get the results of the command run Use the conditions to control the progress of the gameTopic 2Features Use system modules that work with Software package and storage, Firewall rules, storage devices, Users and groupsTopic 3To protect sensitive data, use Ansible Vault in the user guide Take advantage of additional enhancementsTopic 4Configure local storage Operating systemTopic 5Use the documentation provided to get specific information about the available modules and commandsTopic 6Understand and use basic tools System deployment, configuration and maintenanceTopic 7Create managed managed nodes Configure privilege escalation on managed nodesTopic 8Create an instruction manual to configure the system for a specific situation Learn to work with frequently used Ansible unitsTopic 9Unable to create drama and playbook Install the required package Parallel managementTopic 10Create SSH keys and distribute them to managed nodes Create and use static invariants to define host groupsTopic 11Verify that the functional configuration is correct by using the Ansible custom commandTopic 12Create simple shell scripts that run custom Ansible commands Administrative work scenario   NEW QUESTION 12Create 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 13Create 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 14Create 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 15Create 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.  Solution as:  Solution as: NEW QUESTION 16Create 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.  Solution as:Check the proxy host by curl http://node3.example.com  Solution as:Check the proxy host by curl http://node3.example.com NEW QUESTION 17Create 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.  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 nodeyum:name: ‘*’state: latest  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 nodeyum:name: ‘*’state: latest NEW QUESTION 18Create 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 19Create 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  Solution as:  Solution as:  Loading … Pass RedHat EX294 exam - questions - convert Tets Engine to PDF: https://www.examcollectionpass.com/RedHat/EX294-practice-exam-dumps.html --------------------------------------------------- Images: https://free.examcollectionpass.com/wp-content/plugins/watu/loading.gif https://free.examcollectionpass.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-04-13 13:45:34 Post date GMT: 2022-04-13 13:45:34 Post modified date: 2022-04-13 13:45:34 Post modified date GMT: 2022-04-13 13:45:34