Free EX407 Exam Braindumps
Red Hat Certified Specialist in Ansible Automation exam Questions 31–35 (page: 8)

Updated On: 9-Feb-2026

Which variable name is invalid?

  1. tomcat_inst8_port
  2. _tomcatdefaultport
  3. tomcat8port
  4. tomcat_port

Answer(s): B



Which of the following are Ansible modules? (Choose all that apply.)

  1. get_dnshostname
  2. setup
  3. yum
  4. ping

Answer(s): B,C,D

Explanation:

yum: this module was covered in the lesson and can be found in Ansible documentation.



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.



Viewing page 8 of 22
Viewing questions 36 - 40 out of 101 questions


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

AI Tutor AI Tutor 👋 I’m here to help!