






















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 What is the primary goal of ethical hacking? A. To break into systems illegally B. To improve system security by identifying vulnerabilities with permission C. To delete malware from systems only D. To replace system administrators Correct Answer: B Rationale: Ethical hacking involves legally testing systems to find and fix security vulnerabilities before attackers exploit them. Question 2 Which of the following best defines “penetration testing”? A. Installing antivirus software B. Simulating cyberattacks to identify security weaknesses C. Encrypting files D. Monitoring network speed Correct Answer: B Rationale: Penetration testing simulates real-world attacks to evaluate system security. Question 3 What does “CIA” triad stand for in cybersecurity? A. Control, Integrity, Access B. Confidentiality, Integrity, Availability
C. Cyber, Internet, Authentication D. Control, Inspection, Authorization Correct Answer: B Rationale: The CIA triad represents the core principles of cybersecurity: confidentiality, integrity, and availability. Question 4 Which tool is commonly used for network scanning? A. Photoshop B. Nmap C. Excel D. Wireshark only Correct Answer: B Rationale: Nmap is widely used to discover hosts and services on a network. Question 5 What is a vulnerability in cybersecurity? A. A firewall rule B. A weakness that can be exploited by attackers C. A secure encryption method D. A backup system Correct Answer: B Rationale: A vulnerability is a flaw that can be exploited to compromise a system. Question 6 What is the purpose of a firewall? A. Increase internet speed B. Monitor and control incoming and outgoing network traffic
Correct Answer: C Rationale: HTTPS encrypts communication using SSL/TLS. Question 10 What is SQL injection? A. A hardware failure B. Injecting malicious SQL queries into input fields C. Encrypting a database D. A firewall configuration Correct Answer: B Rationale: SQL injection manipulates database queries through unsafe inputs. Question 11 What is the purpose of encryption? A. Increase speed B. Convert data into unreadable format without a key C. Delete files D. Compress images Correct Answer: B Rationale: Encryption protects data by making it unreadable without a decryption key. Question 12 Which tool is commonly used for packet analysis? A. Nmap B. Wireshark
C. Metasploit D. Burp Suite Correct Answer: B Rationale: Wireshark captures and analyzes network packets. Question 13 What is brute force attack? A. Guessing passwords systematically until correct B. Encrypting files C. Blocking IP addresses D. Scanning ports Correct Answer: A Rationale: Brute force attacks try many password combinations to gain access. Question 14 What is social engineering? A. Network configuration B. Manipulating people to reveal confidential information C. Encrypting emails D. Hardware hacking only Correct Answer: B Rationale: Social engineering exploits human psychology instead of technical vulnerabilities. Question 15 What does a zero-day vulnerability mean? A. A patched vulnerability B. A vulnerability unknown to the vendor with no fix available yet
Correct Answer: B Rationale: Ransomware locks data until a ransom is paid. Question 19 What is the purpose of multi-factor authentication (MFA)? A. Speed up login B. Add extra security layers beyond passwords C. Remove passwords D. Disable encryption Correct Answer: B Rationale: MFA requires multiple verification methods for access. Question 20 Which port is used for HTTPS? A. 21 B. 80 C. 443 D. 25 Correct Answer: C Rationale: Port 443 is used for secure HTTPS traffic. Question 21 What is the purpose of vulnerability scanning? A. Delete logs B. Identify security weaknesses in systems C. Improve UI design D. Increase bandwidth Correct Answer: B Rationale: Vulnerability scanning detects security flaws before exploitation.
Question 22 What is a botnet? A. Secure server cluster B. Network of compromised devices controlled by an attacker C. Encryption system D. Firewall network Correct Answer: B Rationale: Botnets are used in large-scale cyberattacks like DDoS. Question 23 What does “patching” refer to? A. Deleting software B. Fixing security vulnerabilities in software C. Installing malware D. Formatting drives Correct Answer: B Rationale: Patching updates software to fix vulnerabilities. Question 24 What is the purpose of a VPN? A. Increase CPU speed B. Create a secure encrypted connection over a network C. Store files D. Run applications faster Correct Answer: B Rationale: VPNs secure data transmission over public networks. Question 25
A. Physical hacking B. Fake emails or websites C. Firewall misconfiguration D. Hardware failure Correct Answer: B Rationale: Phishing often uses fake communications to trick users. Question 29 What does access control determine? A. Internet speed B. Who can access what resources C. Database size D. CPU usage Correct Answer: B Rationale: Access control defines permissions for users and systems. Question 30 What is the primary goal of cybersecurity? A. Increase system speed B. Protect systems, networks, and data from attacks C. Design websites D. Build applications only Correct Answer: B Rationale: Cybersecurity focuses on protecting digital assets from threats. Question 31 Which tool is commonly used for web application security testing and intercepting HTTP requests? A. Nmap B. Burp Suite
C. Wireshark D. Metasploit Correct Answer: B Rationale: Burp Suite is widely used to intercept, modify, and analyze HTTP/HTTPS traffic during web application testing. Question 32 What is the primary goal of a man-in-the-middle (MITM) attack? A. Encrypt all network traffic B. Intercept and possibly alter communication between two parties C. Improve network speed D. Scan open ports Correct Answer: B Rationale: MITM attacks involve secretly intercepting communication between two systems. Question 33 Which attack exploits weaknesses in web application input fields to execute malicious database queries? A. XSS B. SQL Injection C. DDoS D. Brute force Correct Answer: B Rationale: SQL injection manipulates backend database queries through unvalidated input. Question 34 What is the purpose of port scanning?
Correct Answer: C Rationale: Unencrypted FTP transmits credentials in plaintext, making it vulnerable. Question 38 What is the purpose of a keylogger? A. Encrypt files B. Record keystrokes entered by a user C. Monitor CPU temperature D. Block malware Correct Answer: B Rationale: Keyloggers capture keyboard input, often to steal credentials. Question 39 Which vulnerability allows attackers to execute scripts in a victim’s browser? A. SQL Injection B. XSS (Cross-Site Scripting) C. CSRF only D. Buffer overflow Correct Answer: B Rationale: XSS injects malicious scripts into trusted websites. Question 40 What is a brute force attack primarily used for?
A. Encrypting traffic B. Guessing passwords by trying multiple combinations C. Scanning ports D. Blocking firewalls Correct Answer: B Rationale: Brute force attacks attempt many password combinations until successful. Question 41 What is a hash function used for in cybersecurity? A. Encrypt data reversibly B. Generate fixed-size output from input data for integrity verification C. Store passwords in plain text D. Compress images Correct Answer: B Rationale: Hashing ensures data integrity by producing unique digests. Question 42 Which tool is commonly used for penetration testing and exploitation frameworks? A. Wireshark B. Metasploit C. Excel D. Putty Correct Answer: B Rationale: Metasploit is a powerful framework for developing and executing exploits. Question 43 What is the main goal of reconnaissance in ethical hacking?
C. Open ports D. FTP authentication Correct Answer: B Rationale: CSRF tokens ensure requests are legitimate and user-initiated. Question 47 What is a zero-day exploit? A. A patched vulnerability B. An exploit targeting an unknown or unpatched vulnerability C. A firewall rule D. A backup system Correct Answer: B Rationale: Zero-day exploits target vulnerabilities before fixes are available. Question 48 What is the purpose of network sniffing? A. Encrypt traffic B. Capture and analyze network packets C. Increase bandwidth D. Block attackers Correct Answer: B Rationale: Sniffing monitors network traffic for analysis or interception. Question 49 Which attack floods a system with excessive requests to make it unavailable? A. MITM B. DDoS
C. SQL Injection D. Phishing Correct Answer: B Rationale: DDoS attacks overwhelm systems with traffic, causing downtime. Question 50 What is the main purpose of sandboxing? A. Increase CPU speed B. Isolate applications to prevent system-wide damage C. Store passwords D. Encrypt DNS Correct Answer: B Rationale: Sandboxing runs code in a restricted environment for safety. Question 51 Which technique is used to hide malicious code inside legitimate software? A. Encryption B. Obfuscation C. Hashing D. Tokenization Correct Answer: B Rationale: Obfuscation makes malicious code harder to analyze. Question 52 What is the purpose of security patches? A. Add new features only B. Fix known vulnerabilities in software C. Increase storage D. Improve UI design
Question 56 Which vulnerability occurs when input is not properly validated? A. XSS only B. Injection flaws C. Buffer overflow only D. DNS poisoning Correct Answer: B Rationale: Improper validation leads to injection-based attacks. Question 57 What is a backdoor in cybersecurity? A. A firewall rule B. Hidden access method to a system C. Encryption method D. Network protocol Correct Answer: B Rationale: Backdoors allow unauthorized access bypassing normal authentication. Question 58 What is the purpose of SSL/TLS? A. Compress files B. Encrypt communication between client and server C. Store cookies D. Manage DNS Correct Answer: B Rationale: SSL/TLS secures data in transit over networks.
Question 59 Which attack involves tricking users into clicking malicious links? A. Phishing B. Sniffing C. Spoofing IP only D. Port scanning Correct Answer: A Rationale: Phishing manipulates users into revealing sensitive information. Question 60 What is the main goal of ethical hacking reporting? A. Hide vulnerabilities B. Document findings and recommend security improvements C. Delete logs D. Exploit systems further Correct Answer: B Rationale: Reporting ensures vulnerabilities are documented and fixed responsibly Question 61 In a red team engagement, what is the primary purpose of persistence mechanisms? A. Increase network speed B. Maintain long-term unauthorized access to a compromised system C. Patch vulnerabilities automatically D. Encrypt all system files Correct Answer: B Rationale: Persistence mechanisms ensure continued access to a compromised system even after reboots or credential changes.