Easter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices Question and Answers

Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices

Last Update May 18, 2024
Total Questions : 26

We are offering FREE EX447 RedHat exam questions. All you do is to just go and sign up. Give your details, prepare EX447 free exam questions and then go for complete pool of Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices test questions that will help you more.

EX447 pdf

EX447 PDF

$35  $99.99
EX447 Engine

EX447 Testing Engine

$42  $119.99
EX447 PDF + Engine

EX447 PDF + Testing Engine

$56  $159.99
Questions 1

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

Options:

Discussion 0
Questions 2

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.

Options:

Discussion 0
Questions 3

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.

Options:

Discussion 0
Questions 4

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.

Options:

Discussion 0
Questions 5

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.ymland install the template on dev node at/root/myhosts

Options:

Discussion 0
Questions 6

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.

Options:

Discussion 0
Questions 7

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.

Options:

Discussion 0