Home › Certifications › CISSP › Software Development Security
37 multiple-choice questions and 30 flashcards on Software Development Security, about 10% of the CISSP bank. Every one carries a written rationale.
Software Development Security is one of 8 chapters in CoStudy's CISSP bank, and it holds 37 of the bank's 375 multiple-choice questions — roughly 10% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
10 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
Which is the MOST important control to prevent supply-chain attacks in software dependencies?
Answer: C — Pin versions, verify signatures, scan components, and mirror internally
C) Correct: Pinned versions plus signature verification, component scanning, and a curated internal mirror together block typosquatting, dependency confusion, and silent package substitution. A) Unreviewed public installs are precisely how those attacks succeed. B) Renaming is obscurity and changes nothing upstream. D) Freezing updates leaves known vulnerable versions in place.
Which OWASP Top 10 category covers SQL and command injection?
Answer: D — Injection, where untrusted input is parsed as code or query
D is correct: injection covers any flaw where untrusted input crosses into an interpreter and is executed as SQL, shell, LDAP, or XPath. A concerns authorization decisions rather than interpreter confusion. B addresses dependency currency. C addresses protection of data at rest and in transit. E is the closest trap, because cross-site scripting is itself an injection of script into a page and is grouped under injection rather than standing alone. Parameterized queries and output encoding are the primary mitigations.
A team already runs static and dynamic analysis but keeps shipping known-vulnerable third-party packages. Which addition to the pipeline MOST directly closes this gap?
Answer: A — Software composition analysis matching dependencies to vulnerability data
A) Correct — SCA is the control aimed at inherited risk: it identifies open source and third-party components, including transitive dependencies, and flags known vulnerabilities and license issues. B) Static analysis examines code the team wrote and typically has little visibility into packaged dependencies. C) Peer review catches logic and design problems but reviewers cannot know the vulnerability status of every transitive package. D) Fuzzing finds robustness defects at runtime and would only incidentally reveal a known component flaw.
An organization declares a move to DevSecOps. Which change signals that the transition is genuine rather than nominal?
Answer: C — Security requirements, automated testing and telemetry are owned in the pipeline
C) Correct — DevSecOps is the integration of security work into automated delivery with shared ownership and feedback, not a separate stage or a reporting-line change. A) Reorganization alone changes reporting, not practice. B) A mandatory final gate is the pre-DevSecOps model, reintroducing the late bottleneck the approach is meant to dissolve. D) Access for security staff may be useful operationally but is not evidence of integrated practice.
Server-Side Request Forgery (SSRF) is BEST mitigated by:
Answer: B — Allow-listing permitted destinations and blocking internal and metadata targets
B) Correct: Restricting outbound fetches to approved destinations and refusing link-local, loopback, and cloud metadata addresses removes the pivot SSRF depends on. A) Unrestricted fetching is the vulnerability itself. C) SSRF is an access problem, not a capacity problem. D) Removing logs blinds detection without changing the exposure.
An investigation cannot establish who authored a change that introduced a backdoor, because commit metadata can be set freely by any contributor. Which source code management control addresses this?
Answer: D — Requiring signed commits verified against enrolled developer keys
D) Correct — commit author fields are self-asserted text; signing binds a change to a key held by an enrolled identity, and branch protection can reject unsigned commits, restoring attribution. A) Linear history improves readability of the change record but does not authenticate authorship. B) Mirroring is a resilience measure and copies the same unverified metadata. C) Longer retention preserves records that were never trustworthy to begin with.
Which is best practice for storing user passwords in a web application?
Answer: D — Salted, key-stretched hashing with bcrypt, scrypt, or argon2id
D is correct: a unique random salt defeats precomputed rainbow tables, and a tunable work factor makes offline guessing expensive while remaining acceptable for a single login. A and B leave credentials readable to anyone who obtains the data, and access control lists do not survive a database dump. C is the subtle trap, because encryption is reversible by design, so key compromise exposes every password at once. E is fast and unsalted, which is precisely what a cracking rig exploits.
A business unit has procured a SaaS application without involving security. Which action should the security manager take FIRST?
Answer: B — Determine what data the service holds and review the contract and assurance evidence
B) Correct — assessing acquired services begins with understanding the data and the obligations already agreed; classification and contract review determine what assurance and controls are actually required. A) Demanding a bespoke penetration test of a multi-tenant provider is rarely feasible and skips the analysis that would justify it. C) Blocking a purchased business service before understanding it is disproportionate and damages security's standing as an adviser. D) A CASB may well be part of the answer, but selecting a control before knowing the data and contract terms is backwards.
What is a primary purpose of the OWASP Top 10?
Answer: E — An awareness document ranking critical web application risks
E is correct: it is a periodically updated awareness document that ranks the most critical web application security risks, used to focus developer training and testing effort. A, B, C, and D each describe a reference artifact of a different kind and none reflects risk prioritization. The important nuance is that the Top 10 is an awareness tool rather than an exhaustive standard, so treating it as a complete security requirement set leaves significant categories untested.
A commercial off-the-shelf package will process regulated customer data, and the vendor will not release source code. Which assessment approach is MOST appropriate?
Answer: C — Combine independent assurance reports, contract security terms and hands-on testing
C) Correct — for acquired software the practical assurance set is third-party attestations, binding contract terms covering vulnerability handling and notification, and the organization's own dynamic testing of its deployment. A) Escrow protects against vendor failure and is normally not accessible for security review. B) A vendor datasheet is a marketing claim and carries no independent assurance. D) Binary analysis can add signal but is narrow, often prohibited by license, and cannot substitute for contractual and attestation evidence.
4 cards from the 30 in this chapter.
What is API security best practice?
AuthN (OAuth/OIDC/mTLS), AuthZ per endpoint, rate limiting, input validation, schema enforcement, monitoring, version control, OWASP API Top 10 awareness.
What is SQL injection?
Inserting malicious SQL via user input. Allows data theft, modification, OS command execution. Mitigations: parameterized queries, ORM, input validation, least DB privilege.
What is CSRF?
Cross-Site Request Forgery — tricks authenticated user into executing unwanted actions. Mitigations: CSRF tokens, SameSite cookies, double-submit pattern.
What is DevSecOps?
Integrating security into DevOps — security as code, automated SAST/DAST/SCA in pipelines, fast feedback. 'Shift left'.
These are a sample. The full Software Development Security chapter runs 67 items with per-chapter progress tracking, on the web and in the iOS app.