nerdexam
Cisco

200-301 · Question #1237

What is an Ansible inventory?

The correct answer is B. file that defines the target devices upon which commands and tasks are executed. An Ansible inventory is a file (or set of files) that lists the target systems (hosts) Ansible manages. - Hostnames or IP addresses of devices - Groupings of devices (e.g., [web_servers], [db_servers]) - Variables specific to hosts or groups - Connection methods (SSH, WinRM, etc.

Submitted by alyssa_d· Mar 5, 2026

Question

What is an Ansible inventory?

Options

  • Aunit of Python code to be executed within Ansible
  • Bfile that defines the target devices upon which commands and tasks are executed
  • Cdevice with Ansible installed that manages target devices
  • Dcollection of actions to perform on target devices, expressed in YAML format

How the community answered

(16 responses)
  • B
    88% (14)
  • C
    6% (1)
  • D
    6% (1)

Explanation

An Ansible inventory is a file (or set of files) that lists the target systems (hosts) Ansible manages. - Hostnames or IP addresses of devices - Groupings of devices (e.g., [web_servers], [db_servers]) - Variables specific to hosts or groups - Connection methods (SSH, WinRM, etc.) Inventories can be: - Static (defined in .ini or .yml files) - Dynamic (generated from cloud providers, CMDBs, etc.)

Topics

#Ansible inventory#Ansible#Configuration management

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice