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

Which git hook runs before commit?

Multiple choice — select one answer

Answer choices

  1. a. pre-commit hook
  2. b. Follow change control and monitor metrics
  3. c. pyenv class tool
  4. d. FROM

Architectural breakdown & explanation

pre-commit can lint/test before commit completes.

Correct answer(s): a. pre-commit hook

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.