CISSP Software Development Security: 120 practice questions
12 of the 120 Software Development Security questions in the Certsqill CISSP bank, shown in full below. Each one carries an explanation for every option, not just the correct one — the wrong answers are where the marks go.
Preparing for CISSP? Take the free 5-min readiness check →
1. Apply context-appropriate output encoding before HTML: Select TWO controls that address the demonstrated risks
Select two. More than one option is correct — every correct one is ticked below.
- Escape database input before concatenating it into SQL.Escaping alone is fragile and does not provide the primary separation between SQL code and data.
- Apply context-appropriate output encoding before HTML rendering. ✓HTML-context output encoding treats returned input as data, preventing executable markup from becoming active browser content.
- Validate search input against a permitted character set only.Allowlisting can constrain inputs, but it does not replace parameterization or context-specific output encoding.
- Use parameterized queries for database operations. ✓Parameterized queries separate SQL instructions from supplied values, preventing input from altering query structure.
- Deploy a web application firewall in front of the portal.A WAF may provide defense in depth, but it does not correct unsafe query construction or rendering.
Parameterized queries address SQL injection; context-specific encoding addresses the HTML output risk.
2. 13 weighted defects per million lines: Using risk-weighted escaped defects per million lines, which result is
- 0.13 weighted defects per million lines.The denominator is already one million lines, so the weighted total of 13 is not divided by another 100.
- 13 weighted defects per million lines. ✓The weighted total is 2×1 + 1×3 + 1×8 = 13; with 1,000,000 lines, the rate is 13 weighted defects per million lines.
- 14 weighted defects per million lines.The weighted total is 13, not 14: two low-risk defects contribute 2, one medium contributes 3, and one high contributes 8.
- 4 defects per million lines.This is the raw defect count and ignores the assigned risk weights.
The weighted total is 13, and the one-million-line denominator yields 13 weighted defects per million lines.
3. Run SCA against dependency manifests and lockfiles: Which TWO controls satisfy those explicit requirements?
Select two. More than one option is correct — every correct one is ticked below.
- Run SCA against dependency manifests and lockfiles. ✓SCA identifies third-party components and known vulnerabilities, matching the dependency-focused requirement.
- Run SAST on source or compiled code. ✓SAST examines source or compiled code without executing the target application, matching the first requirement.
- Require signed release artifacts before deployment.Signing supports publisher and integrity verification, but does not inspect code or identify package vulnerabilities.
- Run DAST against a deployed test instance.DAST tests running behavior, so it does not satisfy the requirement for nonexecuting code inspection.
- Generate an SBOM without analyzing package vulnerabilities.An SBOM inventories components, but inventory alone does not identify or remediate known vulnerabilities.
SAST supplies nonexecuting code analysis, while SCA identifies vulnerable third-party components.
4. Obtain contractual right-to-audit verification access: Which TWO controls most directly address these demonstr
Select two. More than one option is correct — every correct one is ticked below.
- Accept the completed supplier questionnaire as sufficient evidence.A questionnaire is self-reported and does not independently verify security within the distributor's scope.
- Obtain contractual right-to-audit verification access. ✓A right to audit enables agreed verification beyond relying solely on supplier self-reporting.
- Add vulnerability notification and patching obligations. ✓Defined notification and patching requirements create measurable supplier responsibilities for vulnerability response.
- Require a general nondisclosure agreement before purchase.An NDA protects confidentiality commitments but does not establish patching, monitoring, or verification controls.
- Transfer all security accountability to the supplier contractually.Contracts can assign obligations, but the distributor retains oversight and accountability for its role.
Patch obligations and audit rights directly address missing supplier response commitments and independent verification.
5. Add testable security acceptance criteria to backlog: Which approach best satisfies the stated constraint?
- Create a separate security backlog outside product planning.A separate backlog can disconnect security requirements from features and sprint acceptance decisions.
- Add testable security acceptance criteria to backlog stories. ✓Backlog acceptance criteria keep security visible and make completion testable within each story.
- Schedule one security review after the release.A final review delays security integration and conflicts with maintaining visible sprint-level requirements.
- Rely on developers' informal security judgments.Informal judgment lacks explicit, testable requirements and weakens consistent acceptance decisions.
Testable security acceptance criteria integrate explicit requirements into normal agile backlog work.
6. Authorized notes still require context-specific output: What residual limitation remains?
- Client-side validation should replace server-side authorization.Client-side validation is bypassable and cannot replace server-side authorization or context-appropriate output encoding.
- The server must stop checking object permissions.Removing server-side authorization would discard an effective control unrelated to the rendering vulnerability.
- Authorized notes still require context-specific output encoding. ✓Authorized data can still contain markup interpreted by the browser, so context-appropriate encoding or safe APIs remains necessary.
- Authorization guarantees that shipment notes contain no executable markup.Authorization determines whether access is permitted; it does not guarantee that authorized content is safe for browser interpretation.
Authorization controls access, but context-specific encoding is still required for rendered note content.
7. Remediate the defect: Which corrective action is most appropriate?
- Remediate the defect, then obtain independent acceptance retesting before production release. ✓Remediation followed by independent retesting verifies that the unauthorized-access failure is resolved before production acceptance.
- Replace the test with a code-signing check.Code signing verifies signer and artifact integrity under trusted validation, not authorization behavior.
- Deploy while tracking the unresolved exposure as technical debt and reviewing it during the next release cycle.The demonstrated unauthorized disclosure remains unresolved and lacks an authorized risk disposition.
- Ask the developer to rerun the failed test.Developer retesting does not provide independent acceptance evidence after the failure.
Remediate the defect and obtain independent retesting before production acceptance.
8. Restrict the build credential to compilation and artifact: Select TWO.
Select two. More than one option is correct — every correct one is ticked below.
- Monitor the broad credential without changing its permissions.Monitoring improves detection, but the excessive permissions remain available for misuse or compromise.
- Restrict the build credential to compilation and artifact publication only. ✓Removing source-modification and production-deployment permissions enforces least privilege for the build service.
- Give developers the same production deployment credential.Sharing deployment authority expands access and weakens accountability.
- Use separate identities for build and production deployment. ✓Separate identities prevent build credentials from inheriting production deployment authority and support separation of duties.
- Use the unrestricted credential to sign published artifacts.Signing can support integrity and provenance, but does not reduce the credential's excessive operational permissions.
Restrict build permissions and separate build identity from production deployment authority.
9. The component requires risk assessment and remediation: What inference is justified by this evidence?
- The application is definitely exploitable in production.Component vulnerability and usage warrant assessment, but the evidence alone does not prove exploitability.
- The component requires risk assessment and remediation planning. ✓The SBOM identifies exposure, while the vulnerability and usage justify assessing treatment or replacement.
- The SBOM has automatically remediated the vulnerability.An SBOM inventories components but does not change vulnerable code or remediate identified weaknesses.
- The component is safe because its publisher is known.Publisher identity does not establish absence of vulnerabilities in the supplied component.
The SBOM establishes component presence; vulnerability evidence supports risk assessment and remediation planning, not certainty of exploitation.
10. The threat model needs reassessment for the new boundary: What limitation remains?
- Signing the scheduler artifact resolves the modeling gap.Signing verifies artifact integrity and signer trust, but does not analyze changed threats or boundaries.
- The threat model needs reassessment for the new boundary. ✓A changed trust boundary and external flow can introduce threats absent from the approved original model.
- The team must remove every external data feed.The evidence requires updated analysis, not automatic removal of a potentially justified integration.
- Code review proves the original threat model remains sufficient.Code review cannot establish that newly introduced data flows and trust boundaries were modeled adequately.
New trust boundaries and external flows require threat-model reassessment despite clean code review results.
11. Targeted static and dynamic memory-safety results: Which evidence is most appropriate?
- A code-signing certificate for the binaryCode signing verifies publisher and artifact integrity, not safe memory bounds or object lifetimes.
- A general vulnerability scan reporting no detected high-severity findingsA generic scan may miss memory defects and does not establish coverage of boundary and lifetime conditions.
- A spreadsheet listing developers who reviewed memory-related functionsReviewer names show participation but do not demonstrate safe runtime behavior or adequate technical coverage.
- Targeted static and dynamic memory-safety results for boundary and lifetime cases ✓Static and dynamic evidence directly evaluates memory handling across relevant code paths and runtime conditions.
Use targeted static and dynamic evidence addressing memory boundaries and object lifetimes.
12. Require the missing security scenarios to be tested: What should the reviewer decide?
- Approve because coverage exceeds the usual threshold.Aggregate coverage does not demonstrate that required security scenarios were tested.
- Record the omitted scenarios as technical debt and authorize release under normal procedures.Technical-debt tracking does not satisfy the explicit release condition.
- Approve because repeatable unit tests provide stronger release evidence than specialized security testing for authorization and file handling.Repeatability does not compensate for omitted tests of the stated security behaviors.
- Require the missing security scenarios to be tested or obtain a documented waiver from the security authority before approving release. ✓The policy requires completion of the relevant security tests or a formal waiver before release.
Require the missing security tests or a formal waiver.
108 more Software Development Security questions
The remaining 108 questions in this domain are part of the full CISSP bank — 1200 questions, every option explained. Start with the free five-minute check and see your score per domain.
Test your CISSP readiness — freeOther CISSP domains
- Security and Risk Management — 192 questions →
- Security Architecture and Engineering — 156 questions →
- Communication and Network Security — 156 questions →
- Identity and Access Management (IAM) — 156 questions →
- Security Operations — 156 questions →
- All 1200 CISSP questions →
- CISSP certification: requirements, cost and exam format →