Exam Details

  • Exam Code
    :EX447
  • Exam Name
    :Red Hat Certified Specialist in Advanced Automation: Ansible Best Practices
  • Certification
    :Red Hat Certified Architect (RHCA)
  • Vendor
    :RedHat
  • Total Questions
    :26 Q&As
  • Last Updated
    :Nov 17, 2024

RedHat Red Hat Certified Architect (RHCA) EX447 Questions & Answers

  • Question 1:

    CORRECT TEXT

    Create a file called specs.empty in home/bob/ansible on the local machine as follows:

    HOST=

    MEMORY=

    BIOS=

    VDA_DISK_SIZE=

    VDB_DISK_SIZE=

    Create the playbook /home/bob/ansible/specs.yml which copies specs.empty to all remote nodes' path /root/specs.txt. Using the specs.yml playbook then edit specs.txt on the remote machines to reflect theappropriate ansible facts.

    A. See the for complete Solution below.

  • Question 2:

    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.

  • Question 3:

    CORRECT TEXT

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

    A. See the for complete Solution below.

  • Question 4:

    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.

  • Question 5:

    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.

  • Question 6:

    CORRECT TEXT

    Create a playbook /home/bob /ansible/motd.yml that runs on all inventory hosts and docs the following: The playbook should replaee any existing content of/etc/motd in the following text. Use ansible facts to display the FQDN of each host

    On hosts in the dev host group the line should be "Welcome to Dev Server FQDN".

    On hosts in the webserver host group the line should be "Welcome to Apache Server FQDN".

    On hosts in the database host group the line should be "Welcome to MySQL Server FQDN".

    A. See the for complete Solution below.

  • Question 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.

  • Question 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.

  • Question 9:

    CORRECT TEXT

    Create 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 theproxyhost and add the users to the group 'managers', their password should be set using thepw_mgrvariable.

    A. See the for complete Solution below.

  • Question 10:

    CORRECT TEXT

    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

    A. See the for complete Solution below.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only RedHat exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your EX447 exam preparations and RedHat certification application, do not hesitate to visit our Vcedump.com to find your solutions here.