Deal of the Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX447 Exam

Certification Provider: RedHat
Exam Name: Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices Exam
Duration: 240 Minutes
Number of questions in our database: 26
Exam Version: May. 25, 2023
EX447 Exam Official Topics:
  • Topic 1: Implement loops using structures other than simple lists using lookup plugins and filters/ Add those modified files back into the Git repository
  • 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: Inspect, validate, and manipulate variables containing networking information with filters/ Update, modify and create files in a Git repository
  • Topic 4: Set up directories containing multiple host variable files for some of your managed hosts/ Create machine credentials to access inventory hosts
  • Topic 5: Create a source control credential/ Control privilege execution/ Manage inventory variables
  • Topic 6: Use lookup and query functions to template data from external sources into playbooks and deployed template files
  • Topic 7: 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 8: Perform basic configuration of Ansible Tower after configuration/ Populate variables with data from external sources using lookup plugins
  • Topic 9: Use special variables to override the host, port, or remote user Ansible uses for a specific host/ Transform data with filters and plugins
  • Topic 10: 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 11: Write an API scriptlet to launch a job/ Manage inventories and credentials/ Create a job workflow template

Free RedHat EX447 Exam Actual Questions

The questions for EX447 were last updated On May. 25, 2023

Question #1

Install and configure ansible

User bob has 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 may be 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:

Configure these nodes to be in an inventory file where node1 is a member of group dev. nodc2 is a member of group test, nodc3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.

Reveal Solution Hide Solution
Correct Answer: A

Question #2

Create a file called adhoc.sh in /home/sandy/ansible which will use adhoc commands to set up a new 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.

Reveal Solution Hide Solution
Correct Answer: A

Question #3

Create a file called packages.yml in /home/sandy/ansible to 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 to the latest.

Reveal Solution Hide Solution
Correct Answer: A

Question #4

Create a role called sample-apache in /home/sandy/ansible/roles that enables and starts httpd, enables and starts the firewall and allows the webserver service. Create a template called index.html.j2 which creates and serves a message from /var/www/html/index.html Whenever the content of the file changes, restart the webserver service.

Welcome to [FQDN] on [IP]

Replace the FQDN with the fully qualified domain name and IP with the ip address of the node using ansible facts. Lastly, create a playbook in /home/sandy/ansible/ called apache.yml and use the role to serve the index file on webserver hosts.

Reveal Solution Hide Solution
Correct Answer: A

Question #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/ansible called hosts.yml and install the template on dev node at /root/myhosts

Reveal Solution Hide Solution
Correct Answer: A


Unlock all EX447 Exam Questions with Advanced Practice Test Features:
  • Select Question Types you want
  • Set your Desired Pass Percentage
  • Allocate Time (Hours : Minutes)
  • Create Multiple Practice tests with Limited Questions
  • Customer Support
Get Full Access Now
Disscuss RedHat EX447 Topics, Questions or Ask Anything Related

Save Cancel