Free EX407 Exam Braindumps

Where is Ansible's inventory stored by default?

  1. .etc/ansible/hosts
  2. /home/ansible/inventory
  3. etc/ansible/inventory
  4. ${HOME}/inventory for the currently logged in user

Answer(s): A



In what format are ansible playbooks written?

  1. JSON
  2. YAML
  3. XML
  4. Ansible Proprietary Format (APF)

Answer(s): B



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

  1. etc/ansible/ansible.cfg
  2. ${HOME}/.ansible.cfg
  3. ${ANSIBLE_CONFIG}
  4. /etc/ansible/config

Answer(s): A,B,C

Explanation:

etc/ansible/ansible.cfg:This is where Ansible configuration is stored by default.
${HOME}/.ansible.cfg: Ansible will check this file for configuration.



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

  1. XML and JSON
  2. JSON and JAML
  3. YAML and INI
  4. XML and INI

Answer(s): C

Explanation:

Ansible inventories may be provided in either YAML or INI format.






Post your Comments and Discuss RedHat EX407 exam with other Community members:

EX407 Discussions & Posts