CompTIA DataSys+ (DS0-001) — Question 15
Which of the following is an attack in which an attacker hopes to profit from locking the database software?
Answer options
- A. Spear phishing
- B. Ransomware
- C. SQL injection
- D. On-path
Correct answer: B
Explanation
Ransomware is correct because it involves malware that locks or encrypts data, demanding a ransom for access. Spear phishing is a targeted attempt to steal sensitive information, while SQL injection is a technique to exploit vulnerabilities in database queries, and On-path refers to a type of interception attack. None of these involve locking database software for profit.