Which two commands correctly configure SSH to disable root login? (Select two.)
This explicitly denies root user from SSH login.
Why this answer
`DenyUsers root` in `/etc/ssh/sshd_config` explicitly prevents the root user from logging in via SSH, regardless of other authentication methods. Option E is correct because `PermitRootLogin no` directly disables all root SSH logins (password, key, or otherwise) in the SSH server configuration. Both directives require a subsequent restart or reload of the sshd service to take effect.
Exam trap
The trap here is that candidates confuse `PermitRootLogin without-password` (which still allows key-based root login) with disabling root login entirely, or they mistakenly edit the client-side `ssh_config` instead of the server-side `sshd_config`.