





















































































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 of the following best describes the CIA triad in information security? A) Confidentiality, Integrity, Authentication B) Confidentiality, Integrity, Availability C) Confidentiality, Availability, Authorization D) Confidentiality, Auditing, Availability Answer: B Explanation: The CIA triad consists of Confidentiality, Integrity, and Availability, the three core principles of information security. Question 2. In the ethical hacking lifecycle, which phase directly follows Reconnaissance? A) Gaining Access B) Maintaining Access C) Clearing Tracks D) Reporting Answer: A Explanation: After gathering information (Reconnaissance), the attacker attempts to exploit vulnerabilities, which is the Gaining Access phase. Question 3. A hacker who works for a government agency to test defenses without malicious intent is classified as: A) Black Hat B) White Hat C) Grey Hat D) Hacktivist Answer: B
Explanation: White-hat hackers perform authorized security testing for defensive purposes. Question 4. Which stage of the Cyber Kill Chain involves “weaponization” of the exploit? A) Reconnaissance B) Delivery C) Exploitation D) Installation Answer: B Explanation: In the Delivery stage, the attacker transmits the weaponized payload to the target. Question 5. Under GDPR, the principle that requires personal data to be processed only for a specific, explicit purpose is called: A) Data minimization B) Purpose limitation C) Storage limitation D) Integrity Answer: B Explanation: Purpose limitation mandates that data be collected for explicit, legitimate purposes and not further processed incompatibly. Question 6. Which of the following is a legal document that defines the scope, rules, and limits of an ethical hacking engagement? A) Service Level Agreement (SLA) B) Rules of Engagement (RoE) C) Non-Disclosure Agreement (NDA)
B) TCP SYN scan C) Ping sweep D) ARP poisoning Answer: C Explanation: A ping sweep uses ICMP Echo Requests to discover live hosts on a network. Question 10. Which Nmap flag performs a TCP SYN “stealth” scan? A) -sT B) -sS C) -sU D) -sA Answer: B Explanation: The -sS option initiates a SYN scan, which does not complete the TCP handshake, making it less detectable. Question 11. The Nmap option “-O” is used for: A) OS detection B) Aggressive scanning C) Version detection D) Script scanning Answer: A Explanation: -O enables OS fingerprinting to guess the target’s operating system. Question 12. Which type of vulnerability scanner runs without sending packets to the target? A) Active scanner
B) Passive scanner C) Credentialed scanner D) Authenticated scanner Answer: B Explanation: Passive scanners monitor network traffic without actively probing the target. Question 13. In the OSI model, which layer is responsible for end-to-end reliability and flow control? A) Network B) Transport C) Session D) Data Link Answer: B Explanation: The Transport layer (TCP) provides reliability, sequencing, and flow control. Question 14. Which common port is associated with the SSH protocol? A) 21 B) 23 C) 22 D) 25 Answer: C Explanation: SSH typically listens on TCP port 22. Question 15. A stateful firewall differs from a stateless firewall because it: A) Filters packets based only on source IP
Question 18. In a typical DMZ architecture, which device sits between the internal network and the Internet? A) Router only B) IDS only C) Firewall only D) Both a firewall and a router Answer: D Explanation: A DMZ is usually placed behind a perimeter firewall and often uses a router for traffic segregation. Question 19. Which Wireshark display filter shows only TCP SYN packets? A) tcp.flags.ack == 1 B) tcp.flags.syn == 1 && tcp.flags.ack == 0 C) tcp.flags.fin == 1 D) tcp.flags.reset == 1 Answer: B Explanation: The filter selects packets with the SYN flag set and ACK flag cleared, indicating connection initiation. Question 20. ARP poisoning primarily targets which layer of the OSI model? A) Physical B) Data Link C) Network D) Transport Answer: B Explanation: ARP operates at the Data Link layer, mapping IP addresses to MAC addresses.
Question 21. Which password cracking method uses pre-computed hash tables to speed up the attack? A) Brute-force attack B) Dictionary attack C) Rainbow table attack D) Hybrid attack Answer: C Explanation: Rainbow tables store hash-value mappings, allowing rapid lookup of plaintext passwords. Question 22. In Linux, the “sudo” command is used for: A) Changing file ownership B) Escalating privileges temporarily C) Encrypting files D) Monitoring system logs Answer: B Explanation: sudo grants a permitted user temporary root privileges to run specific commands. Question 23. Which Windows utility can be used to check for missing patches that might lead to privilege escalation? A) msconfig B) scannow C) Windows Update Catalog D) Event Viewer Answer: C
Answer: B Explanation: Static analysis reviews code or binaries without running them, often using reverse-engineering tools. Question 27. In steganography, the method of embedding data in the least significant bits of an image is called: A) Frequency masking B) LSB insertion C) Payload encoding D) Ciphertext hiding Answer: B Explanation: LSB (Least Significant Bit) insertion modifies the smallest bits of pixel values to hide data. Question 28. Which OWASP Top 10 risk involves improper validation of user-supplied data leading to unauthorized database queries? A) Broken Access Control B) Injection C) Security Misconfiguration D) Sensitive Data Exposure Answer: B Explanation: Injection flaws, such as SQL injection, arise from insufficient input validation. Question 29. A blind SQL injection differs from an in-band injection because: A) It returns data directly in the HTTP response B) It uses error messages to retrieve data
C) It does not display query results directly, requiring inference D) It only works on NoSQL databases Answer: C Explanation: Blind SQLi relies on true/false responses or timing to infer data, as no data is returned in the response. Question 30. Which type of XSS attack stores malicious script on the server for later delivery to victims? A) Reflected XSS B) Stored XSS C) DOM-based XSS D) Mutated XSS Answer: B Explanation: Stored XSS persists the payload on the server (e.g., in a database) and serves it to users. Question 31. A CSRF attack primarily exploits: A) The victim’s trust in a site’s authentication token B) Weak password policies C) Unvalidated redirects D) Insecure cookies over HTTP Answer: A Explanation: CSRF tricks an authenticated user’s browser into sending forged requests, leveraging the existing session token. Question 32. Which of the following is a secure method for managing session identifiers?
Question 35. Which OWASP IoT Top 10 category addresses weak default passwords on embedded devices? A) Insecure Network Services B) Weak, Guessable or Hard-coded Passwords C) Insufficient Authentication/Authorization D) Poor Physical Hardening Answer: B Explanation: Default or hard-coded credentials are a common IoT vulnerability. Question 36. In a SCADA system, a “man-in-the-middle” attack on the communication channel can cause: A) Unauthorized firmware updates B) Physical damage to equipment C) Loss of operator authentication D) Data leakage only Answer: B Explanation: Manipulating control commands can lead to unsafe physical actions in industrial environments. Question 37. Which wireless encryption protocol was deprecated due to vulnerabilities in the TKIP algorithm? A) WPA2-PSK B) WPA-Enterprise C) WPA-TKIP D) WPA3-SAE Answer: C
Explanation: WPA-TKIP was replaced because TKIP’s design allowed certain attacks; WPA2-AES is preferred. Question 38. An “Evil Twin” attack primarily targets which aspect of wireless security? A) MAC address filtering B) WPA3 encryption C) Rogue access point impersonation D) WEP key reuse Answer: C Explanation: The attacker creates a fake AP with the same SSID to lure clients and capture credentials. Question 39. Which symmetric encryption algorithm is considered the current industry standard for bulk data encryption? A) DES B) 3DES C) AES D) RC Answer: C Explanation: AES (Advanced Encryption Standard) offers strong security and performance. Question 40. RSA encryption relies on the difficulty of factoring which mathematical construct? A) Elliptic curves B) Large prime numbers C) Discrete logarithms
B) Telnet C) VPN (IPsec) D) HTTP Answer: C Explanation: IPsec VPN encrypts traffic, allowing secure remote access over public networks. Question 44. BitLocker primarily protects data at what stage? A) In transit over the network B) At rest on a Windows drive C) While being printed D) During cloud backup Answer: B Explanation: BitLocker encrypts the entire volume, safeguarding data stored on the disk. Question 45. The first step of the incident handling process is: A) Containment B) Identification C) Preparation D) Eradication Answer: C Explanation: Preparation involves establishing policies, tools, and training before an incident occurs. Question 46. Which type of data is considered volatile and must be collected first during a forensic investigation?
A) Hard drive images B) System logs stored on disk C) RAM memory dump D) Archived email files Answer: C Explanation: RAM contents are lost when power is removed; thus, they are collected before non-volatile data. Question 47. The “Order of Volatility” in digital forensics ranks evidence from most to least volatile. Which of the following correctly follows that order? A) RAM → CPU registers → Network traffic → Disk B) Network traffic → RAM → Disk → Backups C) RAM → Network traffic → Disk → Backups D) Disk → RAM → Network traffic → CPU registers Answer: C Explanation: RAM is most volatile, followed by network traffic, then disk storage, and finally backups. Question 48. Which log file on a Windows system typically contains security-related events such as logon attempts? A) system.log B) application.log C) security.evtx D) setup.log Answer: C Explanation: security.evtx records audit events including successful and failed logons.
Answer: B Explanation: Non-repudiation provides proof of origin, preventing denial of participation. Question 52. During the reconnaissance phase, which technique is used to discover subdomains of a target domain? A) Port scanning B) DNS zone transfer C) SYN flooding D) ARP scanning Answer: B Explanation: A DNS zone transfer (AXFR) can reveal all subdomains if misconfigured. Question 53. Which Nmap timing template provides the fastest scan while sacrificing stealth? A) -T0 (Paranoid) B) -T2 (Polite) C) -T4 (Aggressive) D) -T5 (Insane) Answer: D Explanation: -T5 speeds scanning dramatically but is noisy and easily detected. Question 54. A “NULL scan” in Nmap sends TCP packets with no flags set. This technique is most effective against: A) Firewalls that block SYN packets B) Systems that do not respond to malformed packets
C) Hosts that implement RFC-793 compliant stacks D) IDS that only monitor SYN traffic Answer: C Explanation: Some TCP/IP stacks reply differently to a NULL packet, revealing open ports. Question 55. Which of the following is a characteristic of a “stateful” IDS compared to a “stateless” IDS? A) It examines only packet headers B) It tracks connection states across multiple packets C) It cannot detect SYN floods D) It operates only at the application layer Answer: B Explanation: Stateful IDS maintain context of traffic flows, allowing detection of complex attacks. Question 56. In the context of firewalls, what does “default-deny” mean? A) All traffic is allowed unless explicitly blocked B) All traffic is blocked unless explicitly allowed C) Only outbound traffic is permitted D) Only inbound traffic is permitted Answer: B Explanation: Default-deny (implicit deny) blocks everything by default, requiring explicit allow rules. Question 57. Which protocol is commonly used for secure remote command execution on Unix/Linux systems?