This page was exported from Latest Exam Prep [ http://certify.vceprep.com ] Export date:Sat Sep 21 11:52:02 2024 / +0000 GMT ___________________________________________________ Title: Valid Red Hat Certified Architect (RHCA) EX447 Dumps Ensure Your Passing [Q14-Q35] --------------------------------------------------- Valid Red Hat Certified Architect (RHCA) EX447 Dumps Ensure Your Passing EX447 Dumps Real Exam Questions Test Engine Dumps Training RedHat EX447 Exam Syllabus Topics: TopicDetailsTopic 1Set up directories containing multiple host variable files for some of your managed hosts Create machine credentials to access inventory hostsTopic 2Use special variables to override the host, port, or remote user Ansible uses for a specific host Transform data with filters and pluginsTopic 3Perform basic configuration of Ansible Tower after configuration Populate variables with data from external sources using lookup pluginsTopic 4Write an API scriptlet to launch a job Manage inventories and credentials Create a job workflow templateTopic 5Implement loops using structures other than simple lists using lookup plugins and filters Add those modified files back into the Git repositoryTopic 6Run 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 hostTopic 7Inspect, validate, and manipulate variables containing networking information with filters Update, modify and create files in a Git repositoryTopic 8Override 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 otherTopic 9Create a source control credential Control privilege execution Manage inventory variablesTopic 10Use lookup and query functions to template data from external sources into playbooks and deployed template files   NEW QUESTION 14Create 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 See the Explanation for complete Solution below.ExplanationSolution as:NEW QUESTION 15Using the Simulation Program,perform the following tasks:1. Use an ansible ad-hoc command, check the connectivity of your servers.2. Use an ad-hoc ansible command, find the free space of your servers.3. Use an ad-hoc ansible command, find out the memory usage of your servers.4. Do an ls -l on the targets /var/log/messages file.5. Tail the contents of the targets /var/log/messages file. See the Explanation for complete Solution below.Explanation1. ansible all -m ping2. ansible all -a “/bin/df -h”3. ansible all-a “/usr/bin/free”4. ansible all -a “ls -l /var/log/messages”5. ansible local -b -a “tail /var/log/messages”NEW QUESTION 16Create 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. See the Explanation for complete Solution below.Explanationin /home/sandy/ansible/rolesvim requirements.ymlRun the requirements file from the roles directory:ansible-galaxy install -r requirements.yml -p /home/sandy/ansible/rolesNEW QUESTION 17Install and configure ansibleUser 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.comnode2.example.comnode3.example.comnode4.example.comnode5.example.comConfigure 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. See the Explanation for complete Solution below.ExplanationIn/home/sandy/ansible/ansible.cfg[defaults]inventory=/home/sandy/ansible/inventoryroles_path=/home/sandy/ansible/rolesremote_user= sandyhost_key_checking=false[privilegeescalation]become=truebecome_user=rootbecome_method=sudobecome_ask_pass=falseIn /home/sandy/ansible/inventory[dev]node1 .example.com[test]node2.example.com[proxy]node3 .example.com[prod]node4.example.comnode5 .example.com[webservers:children]prodNEW QUESTION 18Create the users in the fileusersjist.ymlfile provided. Do this in a playbook called users.yml located at/home/sandy/ansible.The passwords for these users should be set using thelock.ymlfile from TASK7. When running the playbook, the lock.yml file should be unlocked withsecret.txtfile from TASK 7.All users with the job of ‘developer’ should be created on thedevhosts, add them to the group devops, their password should be set using thepw_devvariable. Likewise create users with the job of ‘manager’ on theproxy host and add the users to the group ‘managers’, their password should be set using thepw_mgrvariable. See the Explanation for complete Solution below.Explanationansible-playbook users.yml -vault-password-file=secret.txtNEW QUESTION 19Create 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. See the Explanation forcomplete Solution below.ExplanationSolution as:NEW QUESTION 20Using 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=8084. 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. See the Explanation for complete Solution below.Explanation1. Edit the /etc/ansible/hosts file. Add a group.2. Edit the /etc/ansible/hosts file. Add a user under the group you created.3. Edit the /etc/ansible/hosts file. Find a host. if we add a variable called maxRequestsPerChild to the host it would look like this. host1 maxRequestsPerChild=8084. ansible ec2 -m shell -a “echo {{ maxRequestsPerChild }}”5. Edit a local file. It could be called anything. Lets call it myhosts. Inside the file it would have a host like the following. [mygroup] myusername1.mylabserver.comNEW QUESTION 21Create 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. See the Explanation for complete Solution below.Explanationchmod0777adhoc.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 22Create 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. See the Explanation for complete Solution below.Explanationansible-vault create lock.ymlNew Vault Password: reallysafepwConfirm: reallysafepwNEW QUESTION 23In /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. See the Explanation forcomplete Solution below.ExplanationSolution as: Loading … RedHat EX447: Selling Red Hat Certified Architect (RHCA) Products and Solutions: https://www.vceprep.com/EX447-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-05-08 07:00:51 Post date GMT: 2022-05-08 07:00:51 Post modified date: 2022-05-08 07:00:51 Post modified date GMT: 2022-05-08 07:00:51