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 61:

    Create a playbookthatchanges the default target onallnodes tomulti-usertarqet. Do this in playbook file called target.yml in/home/sandy/ansible

    Correct Answer. Check the answer in explanation

  • Question 62:

    State whether the following statement is true or false. There is a 10 user trial available.

    A. True
    B. False

  • Question 63:

    Presuming the inventory is not dynamic, Ansible inventories can be specified using what two file formats?

    A. XML and JSON
    B. JSON and JAML
    C. YAML and INI
    D. XML and INI

  • Question 64:

    Consider the following file. authors:

    -joe

    -john

    editors:

    -frank

    managers:

    editing: josh

    authoring: sam

    How many lists are defined in the provided file?

    A. 3
    C. 2
    D. 1

  • Question 65:

    What attribute allows you to cause a play to stop based on a certain failure threshold?

    A. failure_threshold
    B. serial
    C. acceptable_failure_percentage
    D. max_fail_percentage

  • Question 66:

    Which command is the correct way to run the playbook /home/ansible/Buildwww.yml using the inventory file /home/ansible/inventory, assuming your present working directory is /home/ansible?

    A. ansible -i inventory Build.yml
    B. ansible -i inventory -p Buildwww.yml
    C. ansible-playbook -i inventory -p Buildwww.yml
    D. ansible-playbook -i inventory Buildwww.yml

  • Question 67:

    State whether the following statement is true or false. The following is allowed in a playbook.

    -

    tasks:

    yaml:

    name=yum.

    -

    hosts: local

    A. True
    B. False

  • Question 68:

    What module is used to deploy a template?

    A. File
    B. Copy
    C. Template
    D. Deploy

  • Question 69:

    Create a file called adhoc.sh /home/sandy/ansible in which will use adhoc commands to set up a new repository. The name of the repo will be 'EPEL' thedescription 'RHEL8' the baseurl is'https://dl.fedoraproject.org/pub/epel/epel-releaselatest-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.

    Correct Answer. Check the answer in explanation

  • Question 70:

    Why is it important to create a namespace for role variables?

    A. Roles only have access to variables in their own namespace.
    B. It is not really important.
    C. Ansible requires namespaces to be set for a role and will error without them.
    D. Namespacing role variables helps avoid conflicts with variables defined outside of the role.

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.