Software Development Security: CISSP practice questions
Software Development Security is 10% of the free CISSP mock (5 of 50 questions). Pick an answer to see right away whether it is correct, with the explanation and the documentation section it comes from.
CS.VIII · CISSP practice question
A development team uses third-party open-source libraries and container base images in its CI/CD pipeline. Which practice helps identify known vulnerable or outdated open-source packages in those dependencies?
Check answer and explanation
Correct answer: Software Composition Analysis (SCA) integrated into build pipelines
Explanation
SCA scans open-source packages and dependencies against known vulnerability databases and license policies during development and CI/CD.
Common trap
SCA scans open-source packages and dependencies against known vulnerability databases and license policies during development and CI/CD.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
A web API allows an authenticated user to access another user's account record simply by changing an identifier in the request parameter, without verifying ownership or authorization. What vulnerability class is this?
Check answer and explanation
Correct answer: Broken Object Level Authorization (BOLA) / Insecure Direct Object Reference (IDOR)
Explanation
Failing to verify whether the authenticated subject is authorized to access a specific referenced object enables broken object-level authorization / IDOR.
Common trap
Failing to verify whether the authenticated subject is authorized to access a specific referenced object enables broken object-level authorization / IDOR.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
In agile or DevSecOps environments, what does 'shifting left' security mean?
Check answer and explanation
Correct answer: Integrating security activities—such as threat modeling, secure coding standards, and automated checks—earlier in planning, design, and development
Explanation
Shifting left embeds security earlier in the lifecycle where defects are cheaper to prevent or fix and feedback reaches developers quickly.
Common trap
Shifting left embeds security earlier in the lifecycle where defects are cheaper to prevent or fix and feedback reaches developers quickly.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
In the Software Development Lifecycle (SDLC), what is a main benefit of integrating threat modeling during the design phase?
Check answer and explanation
Correct answer: Identifying architectural threats, trust boundaries, and design flaws early when they are less costly to fix than after deployment
Explanation
Design-phase threat modeling surfaces architectural weaknesses and trust-boundary issues early, reducing rework costs compared to fixing flaws post-release.
Common trap
Design-phase threat modeling surfaces architectural weaknesses and trust-boundary issues early, reducing rework costs compared to fixing flaws post-release.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
What is the PRIMARY structural defense against SQL injection vulnerabilities in database-backed applications?
Check answer and explanation
Correct answer: Parameterized queries (prepared statements) that separate SQL command structure from user-supplied input
Explanation
Parameterized queries bind user input as parameters rather than concatenating raw strings into SQL commands, preventing input from altering query structure.
Common trap
Parameterized queries bind user input as parameters rather than concatenating raw strings into SQL commands, preventing input from altering query structure.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
What is the purpose of a Software Bill of Materials (SBOM) in modern software engineering and supply-chain security?
Check answer and explanation
Correct answer: Maintain a structured inventory of software components, libraries, and dependencies used to build an application
Explanation
An SBOM lists components and dependencies in a software product so teams can quickly assess exposure when new vulnerabilities or supply-chain advisories emerge.
Common trap
An SBOM lists components and dependencies in a software product so teams can quickly assess exposure when new vulnerabilities or supply-chain advisories emerge.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
Which principle ensures code changes are reviewed by someone other than the author (or via peer review and automated checks) before merging into production branches?
Check answer and explanation
Correct answer: Peer code review / separation of duties in change promotion
Explanation
Code review and controlled promotion workflows help catch bugs, backdoors, and policy violations while enforcing accountability before code reaches production.
Common trap
Code review and controlled promotion workflows help catch bugs, backdoors, and policy violations while enforcing accountability before code reaches production.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
Which software flaw happens when a program writes more data to a fixed-size memory buffer than it can hold, potentially overwriting adjacent memory?
Check answer and explanation
Correct answer: Buffer overflow
Explanation
A buffer overflow occurs when input exceeds allocated buffer bounds and overwrites adjacent memory locations, potentially causing crashes or arbitrary code execution.
Common trap
A buffer overflow occurs when input exceeds allocated buffer bounds and overwrites adjacent memory locations, potentially causing crashes or arbitrary code execution.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
Which vulnerability occurs when an application includes untrusted user input inside a web page response without proper output encoding or context-aware sanitization, allowing malicious scripts to execute in a victim's browser?
Check answer and explanation
Correct answer: Cross-Site Scripting (XSS)
Explanation
XSS occurs when untrusted data is rendered into browser execution contexts without proper context-aware encoding/sanitization.
Common trap
XSS occurs when untrusted data is rendered into browser execution contexts without proper context-aware encoding/sanitization.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.
CS.VIII · CISSP practice question
Why should secrets such as API keys, database passwords, and private signing keys be stored in a dedicated secrets manager or vault rather than hard-coded in source code?
Check answer and explanation
Correct answer: Hard-coded secrets can leak via repositories, logs, or builds and are difficult to rotate without code changes
Explanation
Dedicated secret management enables centralized access control, auditing, injection at runtime, and safer credential rotation compared to hard-coding secrets in code.
Common trap
Dedicated secret management enables centralized access control, auditing, injection at runtime, and safer credential rotation compared to hard-coding secrets in code.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.