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
    :Mar 03, 2025

Red Hat Red Hat Certifications EX407 Questions & Answers

  • Question 61:

    What switch needs to be added to prevent the following command from failing: ansible all -m user -a "name=jsmith state=present"

    A. -b

    B. -f

    C. -x

    D. -v

  • Question 62:

    Which of the following are valid default locations for Ansible configuration? (Choose all that apply.)

    A. etc/ansible/ansible.cfg

    B. ${HOME}/.ansible.cfg

    C. ${ANSIBLE_CONFIG}

    D. /etc/ansible/config

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

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

    A. Variable declarations

    B. Groups

    C. Hosts

    D. Plays

  • Question 65:

    Which module returns Ansible facts?

    A. The facts module

    B. It is a side effect of the ping module

    C. Facts are gathered when you run any module in ad-hoc mode

    D. The setup module

  • Question 66:

    What does the -a flag allow you to specify?

    A. Allows a user to specify arguments for a given module.

    B. Tells ansible to run in ad-hoc mode.

    C. The -a flag has no use in Ansible.

    D. Tells ansible to run against all hosts.

  • Question 67:

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

    Where is Ansible's inventory stored by default?

    A. .etc/ansible/hosts

    B. /home/ansible/inventory

    C. etc/ansible/inventory

    D. ${HOME}/inventory for the currently logged in user

  • Question 69:

    In what format are ansible playbooks written?

    A. JSON

    B. YAML

    C. XML

    D. Ansible Proprietary Format (APF)

  • Question 70:

    What special character is used to designate that you are passing a variable file to a play using the -e flag?

    A. The plugs sign: "+"

    B. There is no special character required.

    C. The at symbol: "@"

    D. The pipe: "|"

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.