XK0-005 Domain 2: Security

Which SSH config disables root login?

Multiple choice — select one answer

Answer choices

  1. a. SELinux
  2. b. vendor scanner / trivy on packages
  3. c. ban IP via iptables/nftables integration
  4. d. PermitRootLogin no in sshd_config

Architectural breakdown & explanation

Disabling root SSH reduces brute force risk.

Correct answer(s): d. PermitRootLogin no in sshd_config

Exam domain: Domain 2: Security (21% 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.