CompTIA

XK0-006 practice question 4

CompTIA Linux+ · free question 4 of 20

Question

Which of the following Ansible components contains a list of hosts and host groups?
  • A. Fact
  • B. Inventory Correct
  • C. Playbook
  • D. Collection

Explanation

An Ansible inventory lists the managed nodes and organizes them into groups that playbooks and ad hoc commands target. Facts are data gathered from the hosts, a playbook defines the plays and tasks to run, and a collection is a distribution format for roles, modules and plugins.

Practice the whole free set

Answer all 20 free XK0-006 questions with instant feedback, or unlock all 154 questions with Learn and Exam modes.