Online EX447 Practice TestMore Red-Hat Products >

Free Red-Hat EX447 Exam Dumps Questions

Red-Hat EX447: Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices

- Get instant access to EX447 practice exam questions

- Get ready to pass the Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices exam right now using our Red-Hat EX447 exam package, which includes Red-Hat EX447 practice test plus an Red-Hat EX447 Exam Simulator.

- The best online EX447 exam study material and preparation tool is here.

4.5 
(4965 ratings)

Question 1

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

Does this meet the goal?

Correct Answer:A

Question 2

Create 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:
Solution as:
EX447 dumps exhibit
Check the proxy host by curl http://node3.example.com

Does this meet the goal?

Correct Answer:A

Question 3

Create an ansible vault password file called lock.yml with the password reallysafepw in the
/home/sandy/ansible directory. In the lock.yml file define two variables. One is pw_dev and the password is 'dev' and the other is pw_mgr and the password is 'mgr' Create a regular file called secret.txt which contains the password for lock.yml.
Solution:
ansible-vault create lock.yml
New Vault Password: reallysafepw Confirm: reallysafepw
EX447 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 4

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'
Solution:
Solution as:
EX447 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 5

Create 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.
EX447 dumps exhibit
Solution:
ansible-playbook users.yml –vault-password-file=secret.txt
EX447 dumps exhibit

Does this meet the goal?

Correct Answer:A

Question 6

Create 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:
Solution as:
EX447 dumps exhibit

Does this meet the goal?

Correct Answer:A

START EX447 EXAM