This page was exported from Free Exams Dumps Materials [ http://exams.dumpsmaterials.com ]
Export date: Thu Nov 21 10:08:37 2024 / +0000 GMT

Buy Latest Jan 11, 2023 EX447 Exam Q&A PDF - One Year Free Update [Q14-Q29]




Buy Latest Jan 11, 2023 EX447 Exam Q&A PDF - One Year Free Update

Download the Latest EX447 Dump - 2023 EX447 Exam Questions


RedHat EX447 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Run a task for a managed host on a different host, then control whether facts gathered by that task are delegated to the managed host or the other host
Topic 2
  • 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 3
  • Set up directories containing multiple host variable files for some of your managed hosts
  • Create machine credentials to access inventory hosts
Topic 4
  • 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 5
  • Use lookup and query functions to template data from external sources into playbooks and deployed template files
Topic 6
  • Write an API scriptlet to launch a job
  • Manage inventories and credentials
  • Create a job workflow template
Topic 7
  • Implement loops using structures other than simple lists using lookup plugins and filters
  • Add those modified files back into the Git repository
Topic 8
  • Use special variables to override the host, port, or remote user Ansible uses for a specific host
  • Transform data with filters and plugins
Topic 9
  • Create a source control credential
  • Control privilege execution
  • Manage inventory variables
Topic 10
  • Inspect, validate, and manipulate variables containing networking information with filters
  • Update, modify and create files in a Git repository

 

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

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

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

Q19. Create a file called mysecret.yml on the control host using ansible vault in home/bob/ansible. Set the password to ‘notasafepass’ and inside the file create avariable called dev_pass with the value of devops. Save the file.
Then go back in the file and change dev_pass value to devops123. Then change the vault password of mysecret.yml to verysafepass

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

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

Q22. Create a file calledrequirements.ymlin/home/sandy/ansible/rolesto 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.

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


Verified EX447 Dumps Q&As - 1 Year Free & Quickly Updates: https://www.dumpsmaterials.com/EX447-real-torrent.html

Post date: 2023-01-11 15:12:56
Post date GMT: 2023-01-11 15:12:56
Post modified date: 2023-01-11 15:12:56
Post modified date GMT: 2023-01-11 15:12:56