Leads4pass > Red Hat > Red Hat Certifications > EX447 > EX447 Online Practice Questions and Answers

EX447 Online Practice Questions and Answers

Questions 4

CORRECT TEXT

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

A.

See the for complete Solution below.

Buy Now
Questions 5

CORRECT TEXT

Create an empty encrypted file calledmyvault.yml in /home/sandy/ansibleand set the passwordtonotsafepw. Rekey the passwordtoiwejfj2221.

A. See the for complete Solution below.

Buy Now
Questions 6

CORRECT TEXT

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

A. See the for complete Solution below.

Buy Now
Questions 7

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

A. See the for complete Solution below.

Buy Now
Questions 8

CORRECT TEXT

Create a file calledpackages.yml in/home/sandy/ansibleto install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages tothe latest.

A. See the for complete Solution below.

Buy Now
Questions 9

CORRECT TEXT

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

A. See the for complete Solution below.

Buy Now
Questions 10

CORRECT TEXT

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'

A. See the for complete Solution below.

Buy Now
Questions 11

CORRECT TEXT

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 groupproxy,nodc4 and node 5 are members of groupprod.Also,prodis a member of group

webservers.

A. See the for complete Solution below.

Buy Now
Questions 12

CORRECT TEXT

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

A. See the for complete Solution below.

Buy Now
Questions 13

CORRECT TEXT

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.

A. See the for complete Solution below.

Buy Now
Exam Code: EX447
Exam Name: Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices
Last Update: Jul 08, 2026
Questions: 26
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99