nerdexam
(ISC)2

CISSP · Question #1145

Which of the following is the BEST method to validate secure coding techniques against injection and overflow attacks?

The correct answer is B. Using automated programs to test for the latest known vulnerability patterns. Validating secure coding techniques against injection and overflow attacks requires dynamic and thorough testing methods that can keep pace with evolving threats. Automated testing tools provide the most comprehensive and up-to-date coverage for identifying these vulnerability…

Submitted by jian89· Mar 5, 2026Software Development Security

Question

Which of the following is the BEST method to validate secure coding techniques against injection and overflow attacks?

Options

  • AScheduled team review of coding style and techniques for vulnerability patterns
  • BUsing automated programs to test for the latest known vulnerability patterns
  • CThe regular use of production code routines from similar applications already in use
  • DEnsure code editing tools are updated against known vulnerability patterns

How the community answered

(51 responses)
  • A
    6% (3)
  • B
    59% (30)
  • C
    22% (11)
  • D
    14% (7)

Why each option

Validating secure coding techniques against injection and overflow attacks requires dynamic and thorough testing methods that can keep pace with evolving threats. Automated testing tools provide the most comprehensive and up-to-date coverage for identifying these vulnerability patterns.

AScheduled team review of coding style and techniques for vulnerability patterns

Scheduled manual team reviews are inconsistent, subject to human error, and cannot scale to detect the full breadth of injection and overflow vulnerability patterns as effectively or thoroughly as automated tools.

BUsing automated programs to test for the latest known vulnerability patternsCorrect

Automated programs such as Dynamic Application Security Testing (DAST) and Static Application Security Testing (SAST) tools continuously scan code against the latest known vulnerability patterns, including SQL injection, buffer overflows, and XSS. These tools can analyze large codebases quickly, apply up-to-date vulnerability databases, and detect issues that manual reviews often miss. Automation ensures consistent, repeatable, and thorough validation without human error or oversight gaps.

CThe regular use of production code routines from similar applications already in use

Reusing production code routines from other applications introduces inherited vulnerabilities and does not validate or test for injection or overflow weaknesses - it can actually propagate existing flaws into new projects.

DEnsure code editing tools are updated against known vulnerability patterns

Updating code editing tools (such as IDEs with linting plugins) provides limited, surface-level hints about coding style but does not perform comprehensive security testing against the full range of known injection and overflow attack patterns.

Concept tested: Automated security testing for injection and overflow vulnerabilities

Source: https://owasp.org/www-community/Vulnerability_Scanning_Tools

Topics

#secure coding#vulnerability testing#injection attacks#overflow attacks

Community Discussion

No community discussion yet for this question.

Full CISSP Practice