Examine the following inventory excerpt file named /home/user/ansible/inventory. [dbservers] db1.example.comWhich of the following files does Ansible check for variables related to that inventory? (Choose all that apply.)
Answer(s): B,D
Ansible will check in /home/user/ansible/host_vars to find files named after hosts defined in the inventory. Ansible will check this file because there is a group defined in the inventory as dbservers.
Which flags must be accepted as input for a dynamic inventory script?
Answer(s): B
A dynamic inventory must return data in what format?
Answer(s): A
Dynamic inventories must return JSON output.
Which is the default inventory file used by Ansible?
Answer(s): D
Ansbile refers to /etc/ansible/hosts as the default inventory.
Post your Comments and Discuss RedHat EX407 exam with other Community members:
Louk Commented on February 27, 2025 Just passed this exam. First achievement of this year! UNITED STATES
Hilda Commented on February 27, 2025 Good practice Anonymous
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the EX407 content, but please register or login to continue.