Skip to main content

CISSP practice question · Software Development Security

A team has written a parser for a proprietary binary file format received from external partners.

A team has written a parser for a proprietary binary file format received from external partners. It wants to find crashes and memory errors caused by malformed files, at scale and before release. Which testing technique fits BEST?

  • AFuzz testing with large volumes of mutated and malformed inputs
  • BStatic analysis of the code for style violations
  • CUser acceptance testing with business users
  • DRegression testing against known-good sample files
Show the answer and explanation

Correct answer: A) Fuzz testing with large volumes of mutated and malformed inputs

Fuzz testing feeds large volumes of malformed, unexpected or random inputs to a program to uncover crashes, hangs and memory errors, which makes it well suited to parsers of untrusted data.

Why each option is right or wrong

  • A) Correct. Fuzzers automatically generate or mutate inputs and watch for crashes, hangs and memory-safety errors, often with sanitizers. Parsers of untrusted formats are a classic target.
  • B) Incorrect. Style checks improve readability but do not exercise the parser with malformed files. Security-focused SAST also misses many input-dependent memory errors.
  • C) Incorrect. UAT confirms that software meets business needs using realistic, valid data. It is not designed to explore malformed inputs.
  • D) Incorrect. Regression tests confirm existing behavior with known inputs. Known-good files will not reveal how the parser handles malformed data.
Exam domain
Software Development Security · 10% of CISSP
Question type
Multiple choice (one answer)

Practise the full CISSP exam

This question is one of a small free sample from the CertRidge CISSP bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with ISC2; never copied from the real exam.