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

    An Ansible inventory may contain which of the following? (Choose all that apply.)

    A. Variable declarations
    B. Groups
    C. Hosts
    D. Plays

  • Question 32:

    What command is used to run a playbook?

    A. ansible-playbook
    B. ansible
    C. ansible-p
    D. playbook

  • Question 33:

    What does the when keyword do?

    A. There is no when keyword
    B. Allows a task to be conditional
    C. Allows a play to be conditional
    D. Allows a play to be scheduled

  • Question 34:

    What file should you look at first when installing tower?

    A. README.md
    B. setup.sh
    C. inventory
    D. /etc/tower/settings.py

  • Question 35:

    Create a playbook called webdev.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" Curl http://node1.example.com/webdev/index.htmlto test

    Correct Answer. Check the answer in explanation

  • Question 36:

    Which of the following are valid ways to populate an Ansible Tower project with your source files? (Choose all that apply.)

    A. tar upload
    B. subversion
    C. file system of the Ansible Tower server
    D. git

  • Question 37:

    Which Ansible ad-hoc flag is analogous to the become directive?

    A. b
    B. f
    C. i
    D. B

  • Question 38:

    What keyword sets a change condition for a given task?

    A. flag_change
    B. changed_when
    C. register_change
    D. change_set

  • Question 39:

    If a valid playbook contains serial: 20 and the ansible-playbook command running that playbook is passed '-f 10' and targets an inventory of 15 servers, what is the maximum number of forks will exist at any one time during play execution?

    A. 20
    B. 15
    C. 5
    D. 10

  • Question 40:

    Create a file in /home/sandy/ansible/ called report.yml. Using this playbook, get a filecalled report.txt (make it look exactly as below). Copy this file over to all remote hosts at /root/report.txt. Then edit the lines in the file to provide the real information the of hosts. If a disk does not exist then write NONE.

    report.txt

    HOST=inventory hostname MEMORY=total memory in mb BIOS=bios version VDA_DISK_SIZE=disk size VDB_DISK_SIZE=disk size

    Correct Answer. Check the answer in explanation

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.