Which file lists the hosts and groups that Ansible targets?
Choose an answer
Tap an option to check your answer.
Correct answer: File listing target hosts and groups for Ansible.
Why this is the answer
The correct answer is "File listing target hosts and groups for Ansible" because this describes the purpose of the Ansible inventory file. The inventory file, typically named hosts or inventory.ini, defines the managed nodes (hosts) that Ansible will operate on, organizing them into groups. "A Python module executed by Ansible" is incorrect because while Ansible is written in Python and uses modules, this doesn't describe the inventory. "Control node (device running Ansible) that manages targets" describes the machine from which Ansible commands are run, not the file that lists targets. "YAML playbook describing tasks to run on targets" describes a playbook, which defines the automation steps, but not the targets themselves.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed