nerdexam
CompTIA

CAS-003 · Question #345

The director of sales asked the development team for some small changes to increase the usability of an application used by the sales team. Prior security reviews of the code showed no significant…

The correct answer is B. Regression testing. Regression testing involves re-executing the full suite of prior security scans and functional tests against updated code to ensure that new changes have not reintroduced previously resolved issues or created new vulnerabilities. The team assumed small changes were low-risk and…

Technical Integration of Enterprise Security

Question

The director of sales asked the development team for some small changes to increase the usability of an application used by the sales team. Prior security reviews of the code showed no significant vulnerabilities, and since the changes were small, they were given a peer review and then pushed to the live environment. Subsequent vulnerability scans now show numerous flaws that were not present in the previous versions of the code. Which of the following is an SDLC best practice that should have been followed?

Options

  • AVersioning
  • BRegression testing
  • CContinuous integration
  • DIntegration testing

How the community answered

(54 responses)
  • A
    4% (2)
  • B
    93% (50)
  • C
    2% (1)
  • D
    2% (1)

Explanation

Regression testing involves re-executing the full suite of prior security scans and functional tests against updated code to ensure that new changes have not reintroduced previously resolved issues or created new vulnerabilities. The team assumed small changes were low-risk and only performed a cursory peer review, skipping formal regression testing. This allowed new vulnerabilities to enter production undetected. Regression testing - even for minor changes - is an SDLC best practice precisely because seemingly small modifications can have unexpected security consequences throughout the codebase.

Topics

#SDLC#regression testing#secure development lifecycle#software testing

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice