28 minutes ago
IT & Software
[100% OFF] Linux Root & Sudo Practice Tests: 120 Questions Explained
Practice tests for Linux admins: root access, sudoers rules, visudo, sudo hardening, auditing - every answer explained
Course Description
Do you hand out root and sudo access on Linux servers - and want to be sure you do it safely? These practice tests check the knowledge an administrator needs to run least-privilege root access on RHEL and Ubuntu: su and sudo, root SSH logins, sudoers rules and drop-in files, visudo, environment and PATH hardening, shell escapes, timestamps, sudo logs and session recording, and troubleshooting a user who "can't use sudo".
You get 3 practice tests with 120 questions in total (40, 40, 40). Every question was checked twice before release: once by the author against the official documentation, and once by an independent reviewer who answered it blind - any disagreement was settled with a source.
What makes the explanations useful
Each answer tells you why the right option is right and why each wrong option is wrong. The wrong options are real features, commands and settings that are easy to pick by mistake - that is where most of the learning is.
How the tests are built
- Practice Test 1: Root Access, sudoers Rules and visudo: su, su - and sudo -i, the locked root account, wheel and sudo groups, PermitRootLogin, service accounts, sudoers syntax, aliases, runas users, NOPASSWD, /etc/sudoers.d and visudo.
- Practice Test 2: Sudo Hardening, Auditing and Troubleshooting: secure_path, env_reset and env_keep, shell escapes and wildcard pitfalls, sudo timestamps, sudo logs, I/O logging and sudoreplay, sudo -l, error messages, revoking access and deploying sudoers files safely.
- Practice Test 3: Full Mock Exam: a mixed exam across both areas - take it last, in one sitting.
Questions use single-answer and multiple-answer formats; the number of answers to pick is always stated. Suggested time: 60 minutes per test.
Versions: Red Hat Enterprise Linux 9 and RHEL 10, Ubuntu 22.04 LTS and 24.04 LTS, sudo 1.9.x, OpenSSH 9.x (sshd_config and sshd_config.d drop-ins), systemd journald and rsyslog, as of October 2026.
Please note: these are original practice questions written by an instructor. This course is not affiliated with or endorsed by Red Hat or Canonical; Red Hat and Red Hat Enterprise Linux are Red Hat trademarks, Ubuntu is a Canonical trademark.