CISSP practice question · Security Assessment and Testing
A team's unit tests show 95% code coverage, but security bugs still slip through.
A team's unit tests show 95% code coverage, but security bugs still slip through. To measure whether the tests would actually catch faults, the team deliberately introduces small changes into the code and checks whether any test fails. What is this technique?
- AFuzz testing
- BRegression testing
- CCode coverage analysis
- DMutation testing
Show the answer and explanation
Correct answer: D) Mutation testing
Mutation testing evaluates a test suite's effectiveness by seeding small code faults and checking whether tests detect them; coverage only shows code was executed.
Why each option is right or wrong
- A) Incorrect. Fuzzing varies the inputs to the program, not the program's code, and it looks for defects in the application rather than weaknesses in the test suite.
- B) Incorrect. Regression testing re-runs existing tests after real changes to catch new defects. It does not deliberately seed faults to grade the tests.
- C) Incorrect. Coverage analysis measures which code the tests execute. The team already has that figure; the new technique checks whether tests detect faults.
- D) Correct. Mutation testing creates variants of the code (mutants), such as a flipped comparison or removed check, and runs the tests. Mutants that survive reveal weak tests even where coverage is high.
- Exam domain
- Security Assessment and Testing · 12% of CISSP
- Question type
- Multiple choice (one answer)
Related CISSP questions
- A customer wants assurance about a service provider's controls over a period of time, including evidence that the…Security Assessment and Testing
- A customer's annual vendor review takes place in November. The vendor's latest SOC 2 Type II report covers January 1…Security Assessment and Testing
- The CISO wants a penetration test that measures how the security operations center detects and responds to an attack in…Security Assessment and Testing
- A team relies solely on static application security testing (SAST) in its pipeline.Security Assessment and Testing
All 110 free CISSP questions by domain · 15 sample questions on one page
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.