Website Vidya

General Knowledge / HARD

Linux Server Security Assessment: 100 Hardening & Defensive Questions

Audit your defensive engineering knowledge with 100 Linux server hardening questions covering SSH hardening, UFW firewalls, fail2ban, CIS benchmarks, and auditd.

100Questions
90mDuration
+1Marks / Q
NoneNegative Marks

Linux Server Security Assessment & Infrastructure Hardening Exam

Evaluate your defensive systems engineering skills with this 100-question Linux server security assessment. Aligned with the Center for Internet Security (CIS) benchmarks and industry hardening best practices, this exam tests your ability to protect Linux infrastructure against brute-force attacks, unauthorized access, privilege escalation, and lateral network movement.

Core Hardening Domains & Defensive Measures

The questions test practical implementation of robust server defense-in-depth:

  • SSH Daemon Hardening: Disabling root logins (PermitRootLogin no), enforcing public key authentication while disabling passwords (PasswordAuthentication no), setting idle timeout intervals, restricting user access with AllowUsers / AllowGroups, and implementing secure cryptographic ciphers and KEX algorithms in /etc/ssh/sshd_config.
  • Firewall & Network Filtering: Configuring host-based firewalls using Uncomplicated Firewall (ufw), firewalld, and raw nftables / iptables; restricting ingress to trusted bastion IPs; configuring default deny ingress policies; and preventing port scanning reconnaissance.
  • Intrusion Prevention & Log Monitoring: Deploying and configuring fail2ban jails, regular expression filters for brute-force detection, ban time escalation, and auditing authentication failures in /var/log/auth.log and /var/log/secure.
  • System Auditing & Integrity Monitoring: Implementing Linux Audit Daemon (auditd) rules to monitor modifications to critical files (/etc/passwd, /etc/shadow, /etc/sudoers), inspecting audit events with ausearch and aureport, and tracking file integrity using tools like AIDE (Advanced Intrusion Detection Environment).
  • Mandatory Access Control (MAC): Enforcing SELinux modes (Enforcing, Permissive, Disabled), managing SELinux file contexts with semanage and restorecon, boolean toggles (setsebool), and AppArmor profile configuration.
  • Filesystem & Mount Hardening: Applying secure mount options in /etc/fstab (nodev, nosuid, noexec on /tmp, /var/tmp, and /dev/shm), disabling unused legacy filesystems, and purging unneeded network protocols (DCCP, SCTP, RDS).

Real Infrastructure Security Scenarios

Questions challenge you to audit vulnerable server configurations, eliminate insecure services (Telnet, FTP, rsh), isolate compromised user accounts, and verify cryptographic baselines across enterprise Linux clusters.

Examination Parameters

  • Questions: 100 multiple-choice questions.
  • Passing Mark: 70% passing threshold with detailed defensive explanations and CIS benchmark cross-references.
Keep Practicing

Related Quizzes & Challenges

Strengthen your understanding with more interactive technical tests in this domain.

Showing 4 of 8 related tests
Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout