nerdexam
Isaca

CISA · Question #13

What is the BEST control to address SQL injection vulnerabilities?

The correct answer is B. Input validation. The best control to address SQL injection vulnerabilities is input validation, specifically using parameterized queries or prepared statements. This prevents malicious data from being executed as part of a database query.

Submitted by yousef_jo· Apr 18, 2026Information Systems Acquisition, Development, and Implementation

Question

What is the BEST control to address SQL injection vulnerabilities?

Options

  • ADigital signatures
  • BInput validation
  • CUnicode translation
  • DSecure Sockets Layer (SSL) encryption

How the community answered

(22 responses)
  • B
    86% (19)
  • C
    9% (2)
  • D
    5% (1)

Why each option

The best control to address SQL injection vulnerabilities is input validation, specifically using parameterized queries or prepared statements. This prevents malicious data from being executed as part of a database query.

ADigital signatures

Digital signatures ensure data integrity and authenticity but do not prevent malicious input from being processed by an application susceptible to SQL injection.

BInput validationCorrect

Input validation, especially through the use of parameterized queries or prepared statements, is the most effective defense against SQL injection. This technique ensures that user-supplied data is strictly treated as data and not as executable code, thereby preventing attackers from injecting malicious SQL commands that could manipulate or expose database content.

CUnicode translation

Unicode translation deals with character encoding, which is unrelated to preventing SQL injection vulnerabilities where malicious code is embedded within user input.

DSecure Sockets Layer (SSL) encryption

Secure Sockets Layer (SSL) encryption protects data in transit between the client and server, but it does not prevent SQL injection attacks that exploit vulnerabilities in the server-side application's handling of input.

Concept tested: SQL injection prevention

Source: https://learn.microsoft.com/en-us/previous-versions/aspnet/ms178125(v=vs.100)

Topics

#SQL injection#Input validation#Application security#Secure coding

Community Discussion

No community discussion yet for this question.

Full CISA Practice