




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which principle of the CIA triad ensures that sensitive information is only accessible to authorized users? A) Confidentiality B) Integrity C) Availability D) Authentication Answer: A Explanation: Confidentiality guarantees that sensitive data is kept secret and accessible only to authorized individuals, preventing unauthorized access. Question 2. Which type of security threat involves malicious software designed to disrupt, damage, or gain unauthorized access to systems? A) Phishing B) Malware C) DoS Attack D) Social Engineering Answer: B Explanation: Malware refers to malicious software such as viruses, worms, or Trojans that can harm systems, steal data, or provide unauthorized access.
Question 3. Which system hardening step involves disabling unnecessary services to reduce attack surface? A) Applying patches B) Removing unused software C) Disabling unneeded services D) Configuring firewalls Answer: C Explanation: Disabling unnecessary services minimizes potential vulnerabilities by reducing the number of entry points an attacker can exploit. Question 4. What is the primary purpose of a security policy in an organization? A) To define user passwords B) To establish rules and procedures for protecting assets C) To configure network devices D) To install antivirus software Answer: B Explanation: Security policies set the framework for protecting organizational assets, guiding behavior, and establishing security controls and procedures. Question 5. Which file contains user account information such as usernames and UID?
A) pam_unix B) pam_tally2 or pam_faillock C) pam_ldap D) pam_google_authenticator Answer: B Explanation: pam_tally2 or pam_faillock modules are used for tracking login attempts and locking accounts after too many failures, preventing brute-force attacks. Question 8. Which command is used to view and modify file permissions in Linux? A) chown B) chmod C) ls D) cp Answer: B Explanation: chmod is used to change the permissions of files and directories, controlling read, write, and execute rights. Question 9. Which tool can verify the integrity of files by computing cryptographic hashes like SHA-256? A) md5sum
B) sha256sum C) AIDE D) All of the above Answer: D Explanation: md5sum, sha256sum, and AIDE can verify file integrity by generating and comparing cryptographic hashes. Question 10. Which encryption method is commonly used to encrypt entire disk partitions for data at rest? A) SSL/TLS B) LUKS C) WPA D) S/MIME Answer: B Explanation: LUKS (Linux Unified Key Setup) is used to encrypt entire disk partitions, providing confidentiality for stored data. Question 11. Which file system mount option prevents execution of binaries from the mounted filesystem? A) nosuid B) noexec
Answer: B Explanation: SSH (Secure Shell) provides encrypted remote login and command execution, ensuring confidentiality and integrity. Question 14. Which tool can be used to detect and analyze network intrusions in real-time? A) Wireshark B) Snort C) Nessus D) nmap Answer: B Explanation: Snort is an intrusion detection system (IDS) that monitors network traffic for suspicious activities and potential attacks. Question 15. Which configuration file is used to set SSH server options, such as enabling key-based authentication? A) /etc/ssh/sshd_config B) /etc/ssh/ssh_config C) /etc/pam.d/sshd D) /etc/hosts
Answer: A Explanation: /etc/ssh/sshd_config contains configuration settings for the SSH daemon, including authentication methods and security options. Question 16. Which audit daemon tool allows administrators to define rules for monitoring specific system activities? A) auditd B) syslog-ng C) journalctl D) auditctl Answer: D Explanation: auditctl is used to configure and manage audit rules dynamically, while auditd manages the audit system. Question 17. Which log file typically records authentication attempts and security-related messages in many Linux distributions? A) /var/log/messages B) /var/log/secure C) /var/log/kern.log D) /var/log/dmesg Answer: B
Question 20. Which disk encryption tool is commonly used on Linux systems to encrypt entire disks or partitions? A) VeraCrypt B) LUKS C) BitLocker D) FileVault Answer: B Explanation: LUKS (Linux Unified Key Setup) is the standard for encrypting disks and partitions on Linux. Question 21. Which command can be used to verify the integrity of system files using cryptographic hashes? A) md5sum B) sha256sum C) AIDE D) All of the above Answer: D Explanation: md5sum and sha256sum generate hashes for individual files, while AIDE is a comprehensive file integrity checker.
Question 22. Which command is used to mount a filesystem with specific options like read-only or noexec? A) mount B) umount C) fstab D) setup Answer: A Explanation: The mount command is used to mount filesystems with specified options; /etc/fstab automates this process at boot. Question 23. Which utility provides a graphical or command-line interface to configure firewall rules in firewalld? A) firewall-cmd B) iptables C) ufw D) netfilter Answer: A Explanation: firewall-cmd is the command-line tool for configuring firewalld, which manages firewall rules dynamically.
Question 26. Which SSH configuration setting disables root login to enhance security? A) PermitRootLogin yes B) PermitRootLogin no C) PasswordAuthentication no D) ChallengeResponseAuthentication yes Answer: B Explanation: Setting PermitRootLogin to no prevents root user from logging in directly via SSH, reducing attack surface. Question 27. Which command can be used to audit system activity based on predefined rules? A) auditctl B) ausearch C) aureport D) All of the above Answer: D Explanation: auditctl manages rules; ausearch and aureport are used to search and generate reports from audit logs.
Question 28. Which Linux command can be used to analyze log files for suspicious activity? A) tail B) grep C) less D) All of the above Answer: D Explanation: All these commands help in viewing, searching, and analyzing log files for signs of compromise or abnormal activity. Question 29. Which cryptographic technique uses the sender's private key to sign data, enabling recipients to verify authenticity? A) Symmetric encryption B) Digital signature C) Hashing D) Key exchange Answer: B Explanation: Digital signatures involve signing data with a private key, allowing verification of origin and integrity.
Question 32. Which security auditing tool is designed specifically for Linux systems to check compliance and vulnerabilities? A) Lynis B) OpenSCAP C) rkhunter D) All of the above Answer: D Explanation: Lynis, OpenSCAP, and rkhunter are used for assessing system security and compliance. Question 33. Which anti-malware tool is capable of scanning for rootkits and malware on Linux? A) ClamAV B) chkrootkit C) rkhunter D) Both B and C Answer: D Explanation: chkrootkit and rkhunter are specialized for detecting rootkits and malware, while ClamAV is a general antivirus scanner.
Question 34. Which mandatory access control system is developed by Red Hat for enforcing security policies on Linux? A) AppArmor B) SELinux C) AppLocker D) Windows Defender Answer: B Explanation: SELinux (Security-Enhanced Linux) provides fine-grained mandatory access controls to enforce security policies. Question 35. Which command is used to schedule regular backups using rsync? A) rsync - a source/ destination/ B) cron job with rsync command C) tar - czf backup.tar.gz source/ D) Both A and B Answer: D Explanation: rsync command can be scheduled via cron for automated backups, and it efficiently syncs files. Question 36. Which backup method copies only data that has changed since the last backup?
B) Trojan C) Worm D) Virus Answer: A Explanation: Rootkits are malicious tools that conceal their existence and other processes to maintain persistent access. Question 39. Which step is essential during incident response to determine how a security breach occurred? A) Containment B) Eradication C) Root cause analysis D) Recovery Answer: C Explanation: Root cause analysis helps identify how the breach happened, preventing future incidents and improving security measures. Question 40. Which forensic tool can analyze volatile memory (RAM) for signs of malware or malicious processes? A) The Sleuth Kit B) Autopsy
C) Volatility D) Wireshark Answer: C Explanation: Volatility specializes in analyzing RAM dumps to uncover malware and suspicious activity in volatile memory. Question 41. Which Linux command can be used to check for available security patches and updates? A) apt update B) yum check-update C) dnf check-update D) All of the above Answer: D Explanation: All these package managers can check for available updates, including security patches. Question 42. Which security framework emphasizes secure coding practices and vulnerability management in software development? A) OWASP Top 10 B) NIST Cybersecurity Framework C) ISO 27001