Certified SOC Analyst (CSA) — Question 12
Which of the following attack can be eradicated by using a safe API to avoid the use of the interpreter entirely?
Answer options
- A. Command Injection Attacks
- B. SQL Injection Attacks
- C. File Injection Attacks
- D. LDAP Injection Attacks
Correct answer: A
Explanation
Using a safe API can prevent Command Injection Attacks by eliminating the need for an interpreter that executes commands. In contrast, SQL Injection Attacks, File Injection Attacks, and LDAP Injection Attacks involve different vulnerabilities that are not directly mitigated by simply using a secure API.