Course 2022 EX447 Test Prep Training Practice Exam Download [Q15-Q36]

4.5/5 - (2 votes)

Course 2022 EX447 Test Prep Training Practice Exam Download

EX447 Exam Info and Free Practice Test Professional Quiz Study Materials

Q15. Create a file calledadhoc.shin/home/sandy/ansiblewhich will use adhoc commands to set up anew 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.

Q16. 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.

Q17. Create a role called sample-apache in that enables and starts httpd, enables and starts the firewall and allows the webserver service. Create a template calledindex.html.j2which creates and serves a message from/var/www/html/index.htmlWhenever 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/calledapache.ymland use the role to serve the index file on webserver hosts.

Q18. 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’

Q19. Create a file calledrequirements.ymlin/home/sandy/ansible/rolesa file calledrole.yml in
/home/sandy/ansible/.Thehaproxy-roleshould be used on the host. And when you curl
http://node3.example.comit should display “Welcome tonode4.example.com” and when you curl again
“Welcome tonode5.example.com” The

Q20. Create a file in/home/sandy/ansible/calledreport.yml.Using this playbook, get a filecalledreport.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 informationofthehosts. Ifa disk does not exist then write NONE.

Q21. Create an ansible vault password file calledlock.ymlwith the passwordreallysafepwin the
/home/sandy/ansibledirectory. In the lock.yml file define two variables. One ispw_devand the password is
‘dev’ and the other ispw_mgrand the password is ‘mgr’ Create a regular file calledsecret.txtwhich contains the password for lock.yml.

Q22. In /home/sandy/ansible/create a playbook called the play create a logical volume calledIv0and make it of size 1500MiB on volume group If there is not enough space in the volume groupprinta message
“Not enough space for logical vol instead. If the volume group still doesn’t exist, create a message”Volume group doesn’t exist” filesystem on allIv0logical volumes. Don’t mount the logical volume.

Q23. Install and configure ansible
Userbobhas 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 maybe 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 groupdev.nodc2 is a member of group test, nodc3 is a member of group nodc4 and node 5 are members of groupprod.Also,prodis a member of group webservers.

Q24. Create an empty encrypted file called and set the passwordtonotsafepw.
Rekey the passwordtoiwejfj2221.


RedHat EX447 Exam Syllabus Topics:

Topic Details
Topic 1
  • Set up directories containing multiple host variable files for some of your managed hosts
  • Create machine credentials to access inventory hosts
Topic 2
  • Override the name used in the inventory file with a different name or IP address
  • Create Ansible Tower users and teams and make associations of one to the other
Topic 3
  • Create a source control credential
  • Control privilege execution
  • Manage inventory variables
Topic 4
  • Use special variables to override the host, port, or remote user Ansible uses for a specific host
  • Transform data with filters and plugins
Topic 5
  • Use lookup and query functions to template data from external sources into playbooks and deployed template files
Topic 6
  • Perform basic configuration of Ansible Tower after configuration
  • Populate variables with data from external sources using lookup plugins

 

Get 100% Authentic RedHat EX447 Dumps with Correct Answers: https://www.practicematerial.com/EX447-exam-materials.html

Related Links: myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt jobs.electronicsweekly.com portfolium.com myportal.utt.edu.tt

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the text from the image below