EX407 Exam Details

  • Exam Code
    :EX407
  • Exam Name
    :Red Hat Certified Specialist in Ansible Automation
  • Certification
    :Red Hat Certifications
  • Vendor
    :Red Hat
  • Total Questions
    :124 Q&As
  • Last Updated
    :Jul 09, 2026

Red Hat EX407 Online Questions & Answers

  • Question 41:

    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

    Correct Answer. Check the answer in explanation

  • Question 42:

    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 the appropriate ansible facts.

    Correct Answer. Check the answer in explanation

  • Question 43:

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

    Correct Answer. Check the answer in explanation

  • Question 44:

    If forks is set to 100 and Ansible is run against an inventory of 50 servers, how many forks will Ansible create?

    A. 63
    B. 5
    C. 50
    D. 100

  • Question 45:

    Which subcommand of ansible-galaxy makes a role available for use from galaxy?

    A. create
    B. pull
    C. init
    D. install

  • Question 46:

    State whether the following statement is true or false. A template has a maximum of 10 variables.

    A. True
    B. False

  • Question 47:

    By default, how many times can a role be applied during a play?

    A. Once, no matter the parameters provided.
    B. As many times as necessary, no matter the parameters.
    C. Once, presuming it is only applied with a single set of parameters.
    D. As many times as necessary, presuming the `single_run' attribute is set to false.

  • Question 48:

    Which of the following is a good use case for an ad-hoc command? (Choose all that apply.)

    A. Experimenting with an Ansible Module
    B. Installing the netcat utility on application servers
    C. Checking the free memory on a particular group of hosts
    D. Upgrading a custom 3-tier application stack

  • Question 49:

    State whether the following statement is true or false. A template can only use 1 variable.

    A. True
    B. False

  • Question 50:

    How does a user Access Ansible Tower once it is installed?

    A. By connecting to the control host using ssh and running 'tower-tui'
    B. By running 'tower-connect' from your local CLI (on a graphical environment) and specifying the hostname of your Ansible Tower server.
    C. By connecting making an https request to the server tower is installed on using a browser.
    D. By running the ansible command and supplying the --tower flag running.

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 Red Hat exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your EX407 exam preparations and Red Hat certification application, do not hesitate to visit our Vcedump.com to find your solutions here.