Red Hat Certified Specialist in Ansible Automation exam

Here you have the best RedHat EX407 practice exam questions

  • You have 100 total questions to study from
  • Each page has 5 questions, making a total of 20 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on January 1, 2026
  • This site is not affiliated with or endorsed by RedHat.
Question 1 of 100
Examine the following inventory excerpt file named /home/user/ansible/inventory. [dbservers] db1.example.com
Which of the following files does Ansible check for variables related to that inventory? (Choose all that apply.)
Correct Answer: B, D

Question 2 of 100
Which flags must be accepted as input for a dynamic inventory script?
Correct Answer: B

Question 3 of 100
A dynamic inventory must return data in what format?
Correct Answer: A

Question 4 of 100
Which is the default inventory file used by Ansible?
Correct Answer: D

Question 5 of 100
Observe the details of the following dynamic inventory file.
$ ls -l dynamic.py -rw-rw-r--. 1 user user 1928 Mar 30 08:21 dynamic.py
Why will this inventory file cause the ansible command to fail?
Correct Answer: C