A production Java application must detect and block injection attempts as they execute, using instrumentation inside its runtime and without source code changes. Which control fits?
Show the answer
Correct answerB. Runtime application self-protection (RASP)
AWhy not this: SAST analyzes source code before execution, so it cannot observe or block attacks in a running application.
BWhy this is right: RASP runs inside the production runtime, sees requests in context and can block attacks without code changes.
CWhy not this: SCA inventories third-party components and known vulnerabilities; it does not monitor or block runtime behavior.
DWhy not this: IAST uses runtime instrumentation too, but it reports flaws during testing rather than blocking live attacks.
RASP instruments the application's runtime in production and can block malicious requests as they execute. IAST also instruments the runtime, but it is a testing technique that reports findings during test runs and is not meant to block attacks in production.