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

    What values will serial accept? (Choose all that apply.)

    A. A mix of integer and appropriately specified percentage values
    B. Symbolic percentage values (as in 50%)
    C. Decimal percentage values (as in .50)
    D. Integer values

  • Question 102:

    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 a variable 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

    Correct Answer. Check the answer in explanation

  • Question 103:

    Which is the default inventory file used by Ansible?

    A. ${PWD}/.inventory
    B. /etc/hosts
    C. /etc/ansible/inventory
    D. /etc/ansible/hosts

  • Question 104:

    State whether the following statement is true or false.

    The following command can be used to filter facts to pull out the ip address for the target host.

    ansible local -m setup -a "filter=ansible_default_ipv4"

    A. True
    B. False

  • Question 105:

    What does the lineinfile module do?

    A. Allow addition of lines anywhere in a file
    B. Allows to grep for lines in a provided file
    C. Allow additions of lines to the end of a file only
    D. Input data into a file from stdin

  • Question 106:

    Which command will use servers in a local inventory called invent.local?

    A. ansible servers -m ping
    B. ansible all -m ping
    C. ansible all -m ping -i invent.local
    D. ansible all -m ping -f invent.local

  • Question 107:

    State whether the following statement is true or false. Ansible expects templates to use json format.

    A. True
    B. False

  • Question 108:

    What character is used to denote use of a jinja filter on an Ansible variable?

    A. The period: "."
    B. The pipe: "|"
    C. The percent sign: "%"
    D. The at symbol: "@"

  • Question 109:

    Templates must be written in what language?

    A. XML
    B. Ruby
    C. Jinja2
    D. INI

  • Question 110:

    Which of the following are valid parameters of the template module? (Choose all that apply.)

    A. state
    B. dest
    C. validate
    D. .name

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.