









































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 OSI layer is responsible for routing decisions? A) Physical B) Data Link C) Network D) Transport Answer: C Explanation: The Network layer (Layer 3) handles logical addressing and routing of packets. Question 2. What does a stateful firewall track to make filtering decisions? A) MAC addresses B) Application code signatures C) Connection state D) User passwords Answer: C Explanation: Stateful firewalls monitor the state of active connections to allow or block traffic. Question 3. Which protocol is used to securely encrypt web traffic? A) HTTP B) FTP C) TLS D) SNMP Answer: C Explanation: TLS (Transport Layer Security) provides encryption for HTTP traffic (HTTPS). Question 4. In a DMZ, which of the following is typically placed? A) Internal database servers B) Public web servers C) Employee workstations D) Domain controllers Answer: B Explanation: A DMZ isolates public‑facing services like web servers from the internal network. Question 5. Which wireless security protocol is the most recent and robust? A) WEP B) WPA C) WPA2 D) WPA Answer: D Explanation: WPA3 introduces stronger encryption and protection against password‑guessing attacks. Question 6. What is the primary purpose of VLAN segmentation? A) Increase bandwidth B) Reduce latency C) Separate broadcast domains D) Simplify routing tables Answer: C Explanation: VLANs create distinct broadcast domains to limit traffic propagation.
Question 7. Which Windows feature enforces password complexity and account lockout policies? A) BitLocker B) Group Policy C) Windows Defender D) Remote Desktop Services Answer: B Explanation: Group Policy objects (GPOs) define security settings such as password complexity. Question 8. Which Linux command changes file ownership? A) chmod B) chown C) ls D) ps Answer: B Explanation: chown modifies the owner (user/group) of a file or directory. Question 9. What does the “chmod 600” permission set for a file? A) Read/write for owner only B) Read/write for everyone C) Execute for owner only D) No permissions Answer: A Explanation: Mode 600 grants read/write to the owner and no access to group or others. Question 10. Which of the following is a symmetric encryption algorithm? A) RSA B) ECC C) AES D) Diffie‑Hellman Answer: C Explanation: AES encrypts and decrypts data using the same secret key. Question 11. What is the purpose of salting a password hash? A) Increase hash length B) Prevent rainbow‑table attacks C) Speed up authentication D) Enable multi‑factor authentication Answer: B Explanation: Adding a unique salt to each password hash defeats pre‑computed rainbow tables. Question 12. Which component of PKI issues digital certificates? A) Registration Authority B) Certificate Authority C) Key Management Server D) Trust Anchor Answer: B Explanation: The Certificate Authority (CA) signs and issues X.509 certificates.
Question 18. Which of the following best describes the “defense‑in‑depth” principle? A) Rely on a single firewall B) Use multiple, layered security controls C) Disable all user accounts D) Encrypt only backup data Answer: B Explanation: Defense‑in‑depth employs several overlapping controls to protect assets. Question 19. What is the first phase of the PICERL incident‑response process? A) Identification B) Containment C) Preparation D) Eradication Answer: C Explanation: Preparation involves establishing policies, tools, and communication plans before an incident. Question 20. Which tool is commonly used for network vulnerability scanning? A) Wireshark B) Nmap C) Metasploit D) Nessus Answer: D Explanation: Nessus automates detection of known vulnerabilities across hosts. Question 21. What does SIEM stand for? A) Secure Internet Email Management B) Security Information and Event Management C) System Integrity and Encryption Module D) Standardized Incident Evaluation Methodology Answer: B Explanation: SIEM collects, correlates, and analyzes security events from multiple sources. Question 22. Which web vulnerability allows an attacker to inject malicious SQL commands? A) XSS B) CSRF C) SQL Injection D) Clickjacking Answer: C Explanation: SQL Injection exploits improper input handling in database queries. Question 23. What type of attack exploits a website’s trust in a user’s browser session? A) Man‑in‑the‑middle B) Cross‑Site Request Forgery (CSRF) C) DNS poisoning D) Buffer overflow
Answer: B Explanation: CSRF tricks a victim’s browser into sending unauthorized requests. Question 24. Which malware category installs a hidden backdoor for remote control? A) Ransomware B) Trojan C) Worm D) Adware Answer: B Explanation: Trojans masquerade as legitimate software while providing covert access. Question 25. What does DLP aim to protect? A) Network bandwidth B) Physical server locations C) Sensitive data from exfiltration D) User passwords only Answer: C Explanation: Data Loss Prevention monitors and blocks unauthorized transfer of confidential information. Question 26. Which protocol is used for secure remote command execution on Unix systems? A) Telnet B) FTP C) SSH D) RDP Answer: C Explanation: SSH encrypts remote shell sessions, preventing eavesdropping. Question 27. In Active Directory, what is a “domain controller”? A) A DNS server only B) A server that authenticates users and stores AD data C) A firewall appliance D) A backup storage device Answer: B Explanation: Domain controllers host the AD database and enforce authentication/authorization. Question 28. Which Windows feature provides host‑based intrusion detection? A) Windows Defender Antivirus B) Windows Firewall C) Windows Defender Exploit Guard D) BitLocker Answer: C Explanation: Exploit Guard includes behavior‑based detection and mitigation capabilities.
Question 34. Which of the following is a common indicator of a compromised Windows host? A) Regular scheduled reboots B) Unexpected PowerShell processes C) Normal event logs D) Disabled firewall Answer: B Explanation: Unusual PowerShell activity often signals malicious scripting or lateral movement. Question 35. What does the “chmod 755” permission set on a directory allow? A) Read/write for owner only B) Execute only for owner C) Read/write/execute for owner, read/execute for group and others D) No permissions at all Answer: C Explanation: Mode 755 gives full control to the owner and read/execute rights to others. Question 36. Which cryptographic concept ensures data integrity? A) Encryption B) Hashing C) Compression D) Tokenization Answer: B Explanation: A hash function produces a fixed‑size digest that can be used to verify data has not changed. Question 37. What is the default port for HTTPS? A) 80 B) 443 C) 21 D) 22 Answer: B Explanation: HTTPS uses TCP port 443 for secure web traffic. Question 38. Which of the following best describes a “rootkit”? A) A type of ransomware B) A hidden collection of tools that maintain privileged access C) An antivirus scanner D) A network monitoring protocol Answer: B Explanation: Rootkits conceal their presence while providing continued control to attackers. Question 39. In cloud IAM, what does “least privilege” translate to? A) Giving every user admin rights B) Assigning only the permissions required for a specific role C) Disabling all IAM policies D) Using only multi‑factor authentication
Answer: B Explanation: Role‑based policies should grant only necessary actions. Question 40. Which Windows service provides secure encrypted file system capabilities? A) BitLocker B) Windows Update C) Remote Desktop Services D) DNS Server Answer: A Explanation: BitLocker encrypts entire volumes to protect data at rest. Question 41. What is the primary difference between a virus and a worm? A) Viruses require user interaction to spread; worms propagate automatically B) Worms need user interaction; viruses spread automatically C) Both are identical D) Worms only affect Linux systems Answer: A Explanation: Worms self‑replicate across networks, while viruses depend on host actions. Question 42. Which protocol is used for directory services in Windows environments? A) LDAP B) SMTP C) DHCP D) NTP Answer: A Explanation: LDAP (Lightweight Directory Access Protocol) accesses and maintains AD information. Question 43. What does the “/etc/passwd” file store on a Linux system? A) Encrypted passwords B) User account names and UIDs C) System logs D) Network routes Answer: B Explanation: /etc/passwd lists user accounts, UID/GID, and shell information (password hashes are in /etc/shadow). Question 44. Which of the following is a key benefit of using a bastion host? A) Provides DNS resolution B) Acts as a hardened jump server for remote access C) Stores backup files D) Manages DHCP leases Answer: B
Question 50. Which of the following best describes a “sandbox” in security testing? A) A production environment B) An isolated environment for executing untrusted code C) A backup storage area D) A network routing protocol Answer: B Explanation: Sandboxes contain potentially malicious code to prevent impact on the host system. Question 51. What is the primary function of DNSSEC? A) Encrypt DNS queries B) Authenticate DNS responses to prevent spoofing C) Speed up DNS resolution D) Block malicious IP addresses Answer: B Explanation: DNSSEC adds digital signatures to DNS data, ensuring integrity and authenticity. Question 52. Which Windows feature logs security‑related events? A) Event Viewer – Security log B) Task Manager C) Device Manager D) Control Panel Answer: A Explanation: The Security log records audit events such as logon attempts and policy changes. Question 53. What does the “principle of separation of duties” aim to achieve? A) Faster system performance B) Reduce risk of insider abuse by dividing critical tasks C) Simplify user management D) Increase bandwidth Answer: B Explanation: Splitting responsibilities prevents a single individual from having unchecked power. Question 54. Which Linux daemon provides time synchronization? A) httpd B) sshd C) ntpd D) crond Answer: C Explanation: ntpd (Network Time Protocol daemon) keeps system clocks aligned.
Question 55. What is the main advantage of using a hardware security module (HSM)? A) Lower cost B) Faster internet speed C) Secure generation and storage of cryptographic keys D) Simplified user login Answer: C Explanation: HSMs protect private keys in tamper‑resistant hardware. Question 56. Which of the following is a characteristic of a “zero‑day” vulnerability? A) Known and patched for years B) Publicly disclosed with a fix C) Unknown to vendor and unpatched at time of exploitation D) Only affects legacy systems Answer: C Explanation: Zero‑day flaws are exploited before the vendor releases a patch. Question 57. In the context of logging, what does “log rotation” accomplish? A) Encrypt logs B) Archive old logs and create new files to prevent uncontrolled growth C) Delete all logs daily D) Mirror logs to a remote server only Answer: B Explanation: Rotation manages log size and retention by rotating files on a schedule. Question 58. Which attack technique leverages insecure deserialization of objects? A) SQL Injection B) Cross‑Site Scripting C) Remote Code Execution via object injection D) Password spraying Answer: C Explanation: Deserialization of untrusted data can lead to execution of attacker‑controlled code. Question 59. What does the “/var/log/auth.log” file typically contain on Linux? A) System boot messages B) Authentication attempts and sudo usage C) Application error logs D) Kernel panic traces Answer: B Explanation: auth.log records login successes/failures, su, and sudo events. Question 60. Which of the following best describes “tokenization” of data? A) Compressing data B) Replacing sensitive data with a non‑sensitive surrogate C) Encrypting data with a symmetric key D) Hashing data for integrity checks
Explanation: netstat (or ss) lists sockets, showing which ports are open. Question 66. What is the primary purpose of a “honeypot”? A) Store backup data B) Attract and study attackers C) Replace firewalls D) Provide DNS services Answer: B Explanation: Honeypots are deliberately vulnerable systems used to gather intelligence on threats. Question 67. Which of the following is an example of a strong password policy? A) Minimum 6 characters, no complexity B) Minimum 12 characters, includes upper/lowercase, numbers, symbols C) Passwords never expire D) Reuse of last 5 passwords allowed Answer: B Explanation: Longer passwords with varied character sets increase entropy and resistance to guessing. Question 68. What does the “SSH – L” option configure? A) Remote port forwarding B) Local port forwarding C) Disable X11 forwarding D) Enable password authentication only Answer: B Explanation: -L creates a tunnel from a local port to a remote destination. Question 69. Which of the following best describes “privilege escalation”? A) Reducing user rights B) Gaining higher-level permissions than originally granted C) Logging out of a session D) Changing a password Answer: B Explanation: Attackers exploit vulnerabilities to obtain administrative or system privileges. Question 70. What is the purpose of “certificate revocation lists” (CRLs)? A) List approved CAs B) Store expired certificates only C) Identify certificates that are no longer trusted D) Provide public keys for encryption Answer: C Explanation: CRLs publish serial numbers of revoked certificates to prevent their use.
Question 71. Which protocol is commonly used for secure file transfer? A) FTP B) Telnet C) SFTP D) HTTP Answer: C Explanation: SFTP (SSH File Transfer Protocol) encrypts both commands and data. Question 72. What does the “principle of fail‑open” imply for security devices? A) Block all traffic when a failure occurs B) Allow traffic to continue when the device fails C) Shut down the entire network D) Require manual intervention before traffic resumes Answer: B Explanation: Fail‑open permits traffic to flow, avoiding denial of service, though it may reduce security. Question 73. Which of the following is a characteristic of a “logic bomb”? A) Executes after a specific condition is met B) Replicates automatically across networks C) Encrypts user files for ransom D) Sends spam emails Answer: A Explanation: Logic bombs remain dormant until a trigger (date, count, etc.) activates them. Question 74. In Windows, what does the “User Account Control (UAC)” feature help mitigate? A) Disk fragmentation B) Unauthorized elevation of privileges C) Network latency D) Password complexity Answer: B Explanation: UAC prompts for consent when a process attempts to run with higher privileges. Question 75. Which of the following best describes a “sandbox escape”? A) Moving files into a sandbox B) Exploiting a vulnerability to break out of the sandbox’s restrictions C) Deleting sandbox logs D) Encrypting sandbox data Answer: B Explanation: Escape techniques allow malicious code to gain access to the host system.
Question 81. Which of the following is a typical sign of a DDoS attack? A) Decrease in CPU usage B) Sudden spike in inbound traffic causing service slowdown C) Regular log rotation D) Successful user logins Answer: B Explanation: Distributed denial‑of‑service floods overwhelm resources with excessive traffic. Question 82. What does the “/etc/fstab” file define? A) User passwords B) Filesystem mount points and options C) Network interfaces D) Cron jobs Answer: B Explanation: fstab lists filesystems, mount points, and mount options for automatic mounting. Question 83. Which encryption mode provides confidentiality and integrity without requiring a separate MAC? A) ECB B) CBC C) GCM D) OFB Answer: C Explanation: Galois/Counter Mode (GCM) combines encryption and authentication. Question 84. What is the primary function of a “DMARC” record? A) Encrypt DNS queries B) Authenticate email senders and define handling of fraudulent messages C) Provide load balancing for web traffic D) Store public keys for TLS Answer: B Explanation: DMARC builds on SPF/DKIM to instruct receivers on how to treat unauthenticated mail. Question 85. Which of the following best describes a “rainbow table”? A) A list of known malware signatures B) A pre‑computed table of hash values used to reverse password hashes C) A network topology diagram D) A backup schedule Answer: B Explanation: Rainbow tables map plaintext to hash values, facilitating fast cracking of unsalted hashes.
Question 86. In Azure, what does the “Network Security Group” (NSG) control? A) Virtual machine images B) Inbound and outbound traffic to subnets or NICs C) Storage account encryption D) User identity management Answer: B Explanation: NSGs contain security rules that filter traffic at the subnet or NIC level. Question 87. Which of the following is an example of a “security control” in the CIA triad? A) Encryption for confidentiality B) Backup frequency C) System uptime D) User satisfaction survey Answer: A Explanation: Encryption protects data confidentiality, a core security control. Question 88. What does the “/etc/ssh/sshd_config” file configure? A) FTP server settings B) SSH daemon parameters such as allowed authentication methods C) DNS zones D) System time zone Answer: B Explanation: sshd_config defines how the SSH service operates, including login restrictions. Question 89. Which of the following best describes “credential stuffing”? A) Brute‑forcing a single account B) Reusing compromised username/password pairs across many services C) Encrypting credentials D) Changing passwords daily Answer: B Explanation: Attackers automate login attempts using leaked credentials from other breaches. Question 90. What is the main benefit of using “role‑based access control” (RBAC)? A) Allows any user to change permissions B) Simplifies permission management by assigning rights to roles rather than individuals C) Eliminates the need for authentication D) Provides unlimited access to all resources Answer: B Explanation: RBAC groups privileges, making administration more scalable and consistent.
Question 96. What does the “/var/www/html” directory typically contain on a Linux web server? A) System binaries B) Web site files served by Apache/Nginx C) Email spool D) Kernel modules Answer: B Explanation: /var/www/html is the default document root for many web servers. Question 97. Which of the following is a primary function of “intrusion prevention systems” (IPS)? A) Log events only B) Actively block malicious traffic C) Provide DNS resolution D) Manage user passwords Answer: B Explanation: IPS inspects traffic in real time and can drop or reject offending packets. Question 98. What does “TLS 1.3” improve compared to earlier versions? A) Adds support for MD5 B) Reduces handshake latency and removes obsolete cipher suites C) Requires client certificates for all connections D) Disables forward secrecy Answer: B Explanation: TLS 1.3 streamlines the handshake and eliminates insecure algorithms. Question 99. Which of the following is a typical indicator of a compromised Linux account? A) Regular cron jobs B) Unexpected entries in /etc/passwd C) Standard login prompts D) Regular system updates Answer: B Explanation: Unauthorized modifications to /etc/passwd or /etc/shadow suggest tampering. Question 100. What is the main advantage of using “immutable infrastructure” in cloud environments? A) Servers never need updates B) Reduces configuration drift by replacing instances rather than patching them C) Eliminates need for monitoring D) Provides unlimited storage Answer: B Explanation: Rebuilding immutable images ensures consistency and minimizes drift.
Question 101. Which of the following best describes “file integrity monitoring” (FIM)? A) Scanning for viruses B) Detecting unauthorized changes to critical files C) Backing up user data D) Managing user accounts Answer: B Explanation: FIM alerts when protected files are added, modified, or deleted. Question 102. What does the “/proc” filesystem provide on Linux? A) Persistent storage B) Real‑time kernel and process information C) Network configuration D) User home directories Answer: B Explanation: /proc is a virtual filesystem exposing process and system data. Question 103. Which of the following is a common method for protecting against “evil twin” Wi‑Fi attacks? A) Disable WPA2 B) Use MAC address filtering only C) Enable WPA3 with 802.1X authentication D) Broadcast SSID openly Answer: C Explanation: WPA3 with enterprise authentication makes rogue APs harder to spoof. Question 104. What is the purpose of the “principle of “least functionality” in secure system design?** A) Install only essential services and features B) Enable all possible features for flexibility C) Allow users to install any software D) Disable logging Answer: A Explanation: Reducing installed components lowers the attack surface. Question 105. Which of the following is a typical use case for “GPG”? A) Compressing files B) Encrypting and signing email messages C) Managing DNS records D) Monitoring network traffic Answer: B Explanation: GnuPG provides OpenPGP encryption and digital signatures for communications. Question 106. What does the “/etc/rc.local” file allow on many Linux systems? A) Scheduling cron jobs B) Running custom commands at the end of the boot process C) Defining user passwords D) Configuring network interfaces