XK0-005 Domain 2: Security

Which sudoers directive runs command as root?

Multiple choice — select one answer

Answer choices

  1. a. auditd
  2. b. /etc/shadow
  3. c. ed25519
  4. d. user ALL=(ALL) ALL carefully scoped

Architectural breakdown & explanation

sudo grants elevated commands with audit.

Correct answer(s): d. user ALL=(ALL) ALL carefully scoped

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.