XK0-005 Domain 3: Scripting, Containers, and Automation

Which Ansible file defines tasks against hosts?

Multiple choice — select one answer

Answer choices

  1. a. Playbook YAML
  2. b. docker run -it image /bin/bash
  3. c. pre-commit hook
  4. d. Roles

Architectural breakdown & explanation

Playbooks declare tasks and roles.

Correct answer(s): a. Playbook YAML

Exam domain: Domain 3: Scripting, Containers, and Automation (29% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the CompTIA Linux+ bank. Run a full timed practice exam with domain-weighted random questions in your browser.