2022 Latest EX447 dumps Exam Material with 26 Questions [Q15-Q33]

4/5 - (2 votes)

2022 Latest EX447 dumps Exam Material with 26 Questions

RedHat EX447 Questions and Answers Guarantee you Oass the Test Easily

RedHat EX447 Exam Syllabus Topics:

Topic Details
Topic 1
  • Implement loops using structures other than simple lists using lookup plugins and filters
  • Add those modified files back into the Git repository
Topic 2
  • Use special variables to override the host, port, or remote user Ansible uses for a specific host
  • Transform data with filters and plugins
Topic 3
  • Create a dynamic inventory from an identity management server or a database server
  • Structure host and group variables using multiple files per host or group
Topic 4
  • Inspect, validate, and manipulate variables containing networking information with filters
  • Update, modify and create files in a Git repository
Topic 5
  • Set up directories containing multiple host variable files for some of your managed hosts
  • Create machine credentials to access inventory hosts
Topic 6
  • Use lookup and query functions to template data from external sources into playbooks and deployed template files
Topic 7
  • 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 8
  • Create a source control credential
  • Control privilege execution
  • Manage inventory variables
Topic 9
  • Write an API scriptlet to launch a job
  • Manage inventories and credentials
  • Create a job workflow template
Topic 10
  • Perform basic configuration of Ansible Tower after configuration
  • Populate variables with data from external sources using lookup plugins

 

Q15. Create a playbook calledwebdev.ymlin’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
/Webdevto /var/www/html/webdev. Serve a file from Avebdev7index.html which displays the text
“Development” Curlhttp://node1.example.com/webdev/index.htmlto test

Q16. Create a playbook calledtimesvnc.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.

Q17. Create a playbook /home/bob/ansible/timesync.yml that runs on hosts in the webservers host group and does the following:
* Uses thetimesync RHEL system role.
* Sets the ntp server to 0.uk.pool.ntp.org
* Sets the timezone to UTC

Q18. Create a playbookthatchanges the default target onallnodes tomulti-usertarqet. Do this in playbook file called target.yml in /home/sandy/ansible

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

Q20. Using the Simulation Program, perform the following tasks:
Static Inventories Task:
1. Add a new group to your default ansible host file. call the group [ec2]
2. Add a newhost to the new group you created.
3. Add a variable to a new host entry in the /etc/ansible/hosts file. Add the following. localhost http_port=80 maxRequestsPerChild=808
4. Check to see if maxRequestsPerChild is pulled out with an ad-hoccommand.
5. Create a local host file and put a target group and then a host into it. Then ping it with an ad-hoc command.

Q21. Create a role called sample-apache and store it in /home/bob/ansible/roles. The role should satisfy the following requirements:
*In the role, install and enable httpd. Also enable the firewall to allow http. Also run the template
*index.html.j2 and make sure this runs Create a template index.html.j2that displays “Welcome to the server HOSTNAME” In a play called apache.yml in /home/bob/ansible/ run the sample-apache role.

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

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

Q24. Create 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/ansiblecalledhosts.yml and install the template on dev node at


Share Latest EX447 DUMP Questions and Answers: https://www.actualtorrent.com/EX447-questions-answers.html

Related Links: myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt

Be the first to reply

Leave a Reply

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

Enter the text from the image below