All questions
Question 1
Which of the following best describes a 'watering hole' attack?
- An attacker sends targeted phishing emails to specific individuals in an organization.
- An attacker compromises a legitimate website frequently visited by the target group, infecting visitors with malware when they visit the site. (correct answer)
- An attacker floods a website with traffic to make it unavailable.
- An attacker injects malicious code into a trusted software update.
Explanation: A watering hole attack compromises websites that the target group is known to visit, turning a trusted resource into a malware delivery mechanism. Answer B is correct. Targeted emails (A) describe spear phishing. Traffic flooding (C) describes DDoS. Software update injection (D) describes supply chain attacks.
Question 2
An attacker sends an email that appears to come from a bank asking users to click a link and 'verify their account.' The link leads to a fake website that captures credentials. This attack is best described as:
- Vishing - voice phishing using phone calls.
- Smishing - SMS-based phishing.
- Phishing - fraudulent email impersonating a trusted entity to steal credentials. (correct answer)
- Pharming - redirecting DNS queries to fraudulent websites.
Explanation: Phishing uses fraudulent emails impersonating trusted organizations to trick users into clicking malicious links or providing credentials. Answer C is correct. Vishing (A) uses phone calls. Smishing (B) uses text messages. Pharming (D) manipulates DNS rather than using deceptive emails.
Question 3
A threat actor gains access to an organization's network through a phishing email, moves laterally through the network to reach the financial systems, and exfiltrates customer financial data. Which cybersecurity framework function does the organization's failure to detect the lateral movement primarily relate to?
- Identify - the organization failed to identify its assets.
- Detect - the organization failed to detect anomalous activity indicating the attacker's lateral movement. (correct answer)
- Protect - the organization failed to implement sufficient access controls.
- Recover - the organization failed to restore systems after the breach.
Explanation: Failure to detect lateral movement within the network after initial compromise corresponds to the NIST CSF 'Detect' function - anomaly detection, network monitoring, and behavioral analytics should have identified unusual activity. Answer B is correct. Asset identification (A) is Identify. Access controls (C) are Protect. Recovery (D) follows a detected incident.
Question 4
Which of the following is the primary security control that mitigates the risk of credential stuffing attacks?
- Requiring passwords to be changed every 90 days.
- Implementing a web application firewall.
- Multi-factor authentication - which renders stolen username/password combinations from previous breaches unusable without the second factor. (correct answer)
- Encrypting all passwords stored in the database.
Explanation: Credential stuffing uses previously breached username/password pairs from other sites. MFA prevents these from being used even if credentials are valid, since the attacker cannot provide the second factor. Answer C is correct. Password rotation (A) doesn't prevent use of stolen credentials. WAF (B) may detect patterns but doesn't stop valid credentials. Password encryption (D) protects the database, not against credential stuffing.
Question 5
An organization discovers that an attacker had persistent access to its network for eight months before being detected. This type of attack is known as:
- A ransomware attack that encrypts data over time.
- A DDoS attack that gradually degrades system performance.
- A phishing attack that persists across multiple email campaigns.
- An advanced persistent threat (APT) - a sophisticated, long-duration attack where the attacker maintains stealthy presence to achieve strategic objectives such as data exfiltration. (correct answer)
Explanation: APTs are characterized by persistence, sophistication, and stealth - attackers maintain long-term access to pursue specific objectives without triggering detection. Answer D is correct. Ransomware (A) manifests visibly. DDoS (B) is immediately disruptive. Phishing (C) is a delivery mechanism, not a long-term presence.
Question 6
Which of the following best describes a 'zero-day vulnerability'?
- A vulnerability that was discovered and patched more than a year ago.
- A vulnerability that only affects systems that have not been updated in the past year.
- A vulnerability in systems that have been in service for zero years (brand new systems).
- A previously unknown vulnerability that has no available patch, giving defenders zero days to protect themselves before it can be exploited. (correct answer)
Explanation: Zero-day vulnerabilities are unknown to the vendor and have no patch available - attackers can exploit them before any defense can be deployed. Answer D is correct. Patched old vulnerabilities (A), outdated systems (B), and new systems (C) are not the definition of zero-day.
Question 7
An organization's security team receives an alert that a large volume of data is being transferred from an internal server to an external IP address at 2 AM. This behavior is most consistent with which threat?
- A DDoS attack originating from the internal server.
- A ransomware attack encrypting data on the internal server.
- A phishing attack targeting employees via email.
- Data exfiltration - an attacker or insider moving sensitive data to an external location, potentially as part of a breach or theft. (correct answer)
Explanation: Large overnight data transfers to external locations are a classic data exfiltration pattern - an attacker or insider copying sensitive data out of the organization. Answer D is correct. DDoS originates from external attacks (A). Ransomware encrypts but doesn't typically transfer data outbound (B). Phishing is an email-based delivery mechanism (C).
Question 8
A company's employees receive emails appearing to be from the CEO asking them to urgently wire transfer funds to an external account. This attack is best described as:
- A ransomware attack encrypting company data for payment.
- A spear phishing / business email compromise (BEC) attack using impersonation to fraudulently induce financial transfers. (correct answer)
- A distributed denial-of-service (DDoS) attack overwhelming the email server.
- A man-in-the-middle attack intercepting CEO communications.
Explanation: BEC/spear phishing attacks impersonate executives to trick employees into authorizing fraudulent financial transactions - a major source of financial fraud. Answer B is correct. Ransomware (A) encrypts data. DDoS (C) disrupts availability. MITM (D) intercepts active communications rather than impersonating via email.
Question 9
Ransomware is best described as:
- Malware that encrypts a victim's files or systems, rendering them inaccessible, and demands payment (usually cryptocurrency) in exchange for the decryption key. (correct answer)
- Software that secretly monitors and transmits user activity to a remote attacker.
- A network attack that floods a target with traffic to make it unavailable.
- A type of social engineering that tricks users into revealing passwords.
Explanation: Ransomware encrypts data and extorts payment for decryption - one of the most financially damaging cyberthreats to organizations. Answer A is correct. Silent monitoring and data exfiltration (B) describes spyware/RATs. Traffic flooding (C) describes DDoS. Password extraction through deception (D) describes phishing.
Question 10
An attacker intercepts communications between a user and their bank's website, reading and potentially modifying the traffic without either party's knowledge. This is best described as:
- A phishing attack.
- A man-in-the-middle (MITM) attack. (correct answer)
- A denial-of-service attack.
- A SQL injection attack.
Explanation: A MITM attack positions the attacker between two communicating parties, enabling interception and potential modification of the traffic without detection. Answer B is correct. Phishing (A) deceives users into revealing credentials. DoS (C) disrupts availability. SQL injection (D) targets databases through application input.
Question 11
Social engineering attacks are most dangerous because they:
- Exploit unpatched software vulnerabilities in operating systems.
- Are conducted by highly skilled nation-state hackers.
- Bypass technical controls by exploiting human psychology - manipulating people rather than systems. (correct answer)
- Always result in complete system compromise and data exfiltration.
Explanation: Social engineering targets the human element - the weakest link in security - using deception, urgency, or authority to convince people to take actions that compromise security. Technical controls cannot fully prevent socially engineered attacks. Answer C is correct. Software vulnerabilities (A) and nation-state actors (B) describe technical attacks. Outcomes vary (D).
Question 12
A distributed denial-of-service (DDoS) attack primarily threatens which element of the CIA triad?
- Availability - by overwhelming systems with traffic to make them inaccessible to legitimate users. (correct answer)
- Confidentiality - by exposing sensitive data to unauthorized parties.
- Integrity - by modifying data in transit between systems.
- Authentication - by bypassing login controls to gain unauthorized access.
Explanation: DDoS attacks overwhelm systems with traffic, making them unavailable - directly attacking the availability principle. Answer A is correct. DDoS does not typically expose data (B), modify data (C), or bypass authentication (D).
Question 13
An employee unknowingly installs software that appears to be a legitimate productivity tool but secretly creates a backdoor for attackers to access the corporate network. This malware type is called:
- A worm - self-replicating malware that spreads across networks.
- Ransomware - malware that encrypts files for extortion.
- Adware - software that displays unwanted advertisements.
- A Trojan horse - malware disguised as legitimate software that creates unauthorized access. (correct answer)
Explanation: A Trojan horse disguises itself as legitimate software to trick users into installing it, then executes malicious functionality like creating backdoors. Answer D is correct. Worms (A) spread without user action. Ransomware (B) encrypts data. Adware (C) displays ads.
Question 14
Which of the following best describes an 'insider threat' in cybersecurity?
- Attacks launched from inside the organization's firewall by external hackers who have breached the perimeter.
- Security risks posed by current or former employees, contractors, or partners who misuse their authorized access - whether maliciously or inadvertently. (correct answer)
- Threats that originate from internal vulnerability scanning activities.
- Threats from employees who are unaware of the organization's security policies.
Explanation: Insider threats come from individuals with authorized access - including malicious insiders (data theft, sabotage), negligent insiders (accidental data disclosure), and compromised insiders (whose credentials are stolen). Answer B is correct. Perimeter-breaching attackers (A) are external threats. Vulnerability scanning (C) is a security activity. Policy unawareness (D) is a training gap, not an insider threat category.
Question 15
Pretexting is a form of social engineering in which an attacker:
- Creates a fake website that closely mimics a legitimate one to steal credentials.
- Sends mass emails impersonating a trusted organization to harvest login credentials.
- Creates a fabricated scenario (pretext) to manipulate a victim into revealing information or taking an action they otherwise wouldn't. (correct answer)
- Uses malware to intercept keystrokes and capture passwords.
Explanation: Pretexting involves fabricating a believable story - posing as IT support, an auditor, or a vendor - to manipulate the victim. Answer C is correct. Fake websites (A) describe pharming/website spoofing. Mass credential harvesting emails (B) describe phishing. Keystroke capture (D) describes a keylogger.
Question 16
Which of the following vulnerabilities does cross-site scripting (XSS) exploit?
- Unpatched operating system vulnerabilities in web servers.
- Weak password policies that allow brute-force attacks on web application accounts.
- Misconfigured database permissions allowing unauthorized SQL queries.
- Insufficient input validation that allows attackers to inject malicious scripts into web pages viewed by other users. (correct answer)
Explanation: XSS exploits insufficient sanitization of user-supplied input to inject client-side scripts into web pages - scripts that execute in other users' browsers, potentially stealing session tokens or performing actions on their behalf. Answer D is correct. OS vulnerabilities (A), brute-force (B), and SQL permissions (C) are different vulnerability types.
Question 17
Which of the following best describes a 'supply chain attack' in cybersecurity?
- An attack that compromises a trusted vendor or software update to deliver malware to the vendor's customers - targeting organizations indirectly through their trusted supply chain. (correct answer)
- An attack that disrupts an organization's physical supply chain operations.
- An attack targeting an organization's procurement system to manipulate purchase orders.
- Social engineering of supply chain employees to gain physical access to warehouses.
Explanation: Supply chain attacks compromise trusted software, hardware, or service providers to reach a broader set of targets - exemplified by the SolarWinds attack where malware was distributed through a software update. Answer A is correct. Physical supply chain disruption (B), procurement system attacks (C), and physical access attacks (D) are different threat scenarios.
Question 18
Which of the following technical controls most effectively reduces the risk of SQL injection attacks?
- Encrypting all data stored in the database.
- Implementing multi-factor authentication for database users.
- Using parameterized queries or prepared statements that separate SQL code from user-supplied input data. (correct answer)
- Restricting database access to read-only for web application accounts.
Explanation: Parameterized queries prevent SQL injection by treating user input as data rather than executable code - the most effective prevention technique. Answer C is correct. Encryption (A) protects stored data but doesn't prevent injection. MFA (B) controls access but not injection. Read-only access (D) reduces damage but doesn't prevent all injection attacks.
Question 19
A company implements a vulnerability management program that includes regular scanning, prioritization by severity, and patch deployment within defined SLAs. The primary purpose of this program is to:
- Detect and respond to active cyberattacks in real time.
- Systematically identify and remediate known security weaknesses before they can be exploited by attackers. (correct answer)
- Train employees to recognize and report phishing attempts.
- Monitor network traffic for anomalous patterns indicating a breach.
Explanation: Vulnerability management proactively identifies and fixes security weaknesses - reducing the attack surface before adversaries can exploit known vulnerabilities. Answer B is correct. Real-time attack detection (A) is security monitoring. Phishing training (C) is security awareness. Traffic monitoring (D) is detection/SOC function.
Question 20
Which of the following vulnerabilities is most commonly exploited in ransomware attacks?
- Unpatched software vulnerabilities, weak remote access controls (RDP), and phishing emails delivering malicious attachments. (correct answer)
- Misconfigured database permissions allowing unauthorized SQL queries.
- Weak data classification policies leaving sensitive data unprotected.
- Insufficient logging making it difficult to detect unauthorized access.
Explanation: Ransomware commonly enters through phishing emails, unpatched vulnerabilities, and exposed remote desktop protocol (RDP) ports - making patch management, email security, and remote access controls the primary defenses. Answer A is correct. Database permissions (B), data classification (C), and logging gaps (D) are not primary ransomware entry vectors.