โ† All SDL Flashcard Decks

Security Testing & Code Analysis Flashcards

7 cards from real SDL practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Security Testing & Code Analysis flashcards as text
  1. Which approach to security testing analyzes binaries or compiled code without access to source code?

    Answer: Binary / black-box static analysis (BAST)

    Binary static analysis examines compiled executables to find vulnerabilities when source code is unavailable, commonly used for third-party components.

  2. A developer introduces a check that validates input length only on the client side (browser). Why is this insufficient from an SDL perspective?

    Answer: Attackers can bypass client-side validation by intercepting and modifying requests before they reach the server

    Client-side controls can be bypassed with proxies or direct HTTP requests; SDL requires server-side validation as the authoritative enforcement point.

  3. Which OWASP testing technique involves manually walking through an application's authentication flow to identify logic flaws?

    Answer: Manual testing / business logic testing

    Business logic testing requires human testers to reason about intended workflows and test for flaws that automated tools cannot detect because they require contextual understanding.

  4. What is 'differential fuzzing'?

    Answer: Comparing outputs of two implementations with the same inputs to detect behavioral discrepancies

    Differential fuzzing feeds identical inputs to multiple implementations and flags cases where outputs differ, revealing inconsistencies that may indicate security bugs.

  5. In SDL, which process ensures that security requirements derived from threat modeling are verifiable through testing?

    Answer: Security test case derivation from threats

    Deriving security test cases directly from threat model mitigations ensures every identified threat has a corresponding test that validates the control is effective.

  6. Which code analysis technique builds a graph of all possible execution flows through a program to identify unreachable code or dangerous paths?

    Answer: Control flow graph (CFG) analysis

    Control flow graph analysis constructs a directed graph of all execution paths, enabling tools to detect dead code, missing error handling, and security-sensitive execution paths.

  7. When reviewing cryptographic code, which practice violates SDL secure coding standards?

    Answer: Implementing a custom encryption algorithm instead of a vetted standard

    SDL prohibits 'rolling your own crypto' because custom algorithms almost always contain subtle flaws; only peer-reviewed, industry-standard algorithms should be used.

How this page was made: written with AI tools. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy