nerdexam
CompTIA

CAS-002 · Question #761

A security firm is writing a response to an RFP from a customer that is building a new network based software product. The firm's expertise is in penetration testing corporate networks. The RFP…

The correct answer is A. Code review E. White box testing. Testing all possible behaviors of a software product requires full internal visibility; white box testing and code review together provide complete coverage of code paths and logic.

Research and Analysis

Question

A security firm is writing a response to an RFP from a customer that is building a new network based software product. The firm's expertise is in penetration testing corporate networks. The RFP explicitly calls for all possible behaviors of the product to be tested, however, it does not specify any particular method to achieve this goal. Which of the following should be used to ensure the security and functionality of the product? (Select TWO).

Options

  • ACode review
  • BPenetration testing
  • CGrey box testing
  • DCode signing
  • EWhite box testing

How the community answered

(40 responses)
  • A
    63% (25)
  • B
    10% (4)
  • C
    5% (2)
  • D
    23% (9)

Why each option

Testing all possible behaviors of a software product requires full internal visibility; white box testing and code review together provide complete coverage of code paths and logic.

ACode reviewCorrect

Code review involves systematic examination of the source code to identify security flaws, logic errors, and unsafe coding patterns that dynamic testing alone may miss, ensuring comprehensive coverage of all implemented behaviors.

BPenetration testing

Penetration testing is primarily a black-box or limited-knowledge technique focused on exploiting externally visible attack surfaces, not on exhaustively verifying all internal code behaviors.

CGrey box testing

Grey box testing provides only partial internal knowledge, which is insufficient to guarantee that all possible behaviors are identified and tested as the RFP explicitly requires.

DCode signing

Code signing is a mechanism for verifying software authenticity and integrity after build, not a testing methodology that evaluates functional or security behaviors of the product.

EWhite box testingCorrect

White box testing gives testers full knowledge of internal architecture, source code, and data flows, enabling them to design test cases that exercise every code path and satisfy the RFP requirement to test all possible product behaviors.

Concept tested: White box testing and code review for complete software coverage

Source: https://owasp.org/www-project-web-security-testing-guide/

Topics

#white box testing#code review#software security#penetration testing

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice