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

Which YAML feature defines reusable task collections in Ansible?

Multiple choice — select one answer

Answer choices

  1. a. Roles
  2. b. @daily
  3. c. pre-commit hook
  4. d. Follow change control and monitor metrics

Architectural breakdown & explanation

Roles bundle tasks, vars, and templates.

Correct answer(s): a. Roles

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.