SSCP Certification SSCP Systems and Application Security — Questions and Answers
Question 1: Which technique does a Web Application Firewall (WAF) primarily use to detect SQL injection attacks?
- Deep packet inspection of network headers
- Signature-based pattern matching against request payloads (Correct answer)
- Behavioral analysis of user login times
- Certificate pinning on HTTPS connections
Correct answer: Signature-based pattern matching against request payloads
WAFs primarily use signature-based pattern matching to compare HTTP request payloads against known malicious patterns like SQL injection syntax.
Question 2: A developer stores session tokens in HTML5 localStorage. What is the primary security risk?
- Tokens expire too quickly due to browser caching
- localStorage is accessible by any JavaScript on the same origin, enabling XSS theft (Correct answer)
- Tokens are sent in HTTP headers automatically, causing CSRF
- localStorage is not persistent across browser tabs
Correct answer: localStorage is accessible by any JavaScript on the same origin, enabling XSS theft
localStorage is accessible to all scripts on the same origin, so an XSS vulnerability allows attackers to steal session tokens directly.
Question 3: Which sandboxing approach isolates a mobile application from directly accessing other apps' data?
- Role-based access control at the OS kernel level
- Per-application UID-based process isolation enforced by the OS (Correct answer)
- Mandatory use of HTTPS for all inter-app communication
- Application whitelisting on the device firewall
Correct answer: Per-application UID-based process isolation enforced by the OS
Mobile OSes assign each application a unique UID so the kernel prevents one app's process from reading another app's files or memory.
Question 4: During a code review, you find that error messages include full database stack traces returned to the user. This BEST exemplifies which vulnerability class?
- Insecure deserialization
- Security misconfiguration / information disclosure (Correct answer)
- Broken authentication
- Insufficient logging
Correct answer: Security misconfiguration / information disclosure
Exposing internal stack traces to end users is a security misconfiguration that discloses sensitive implementation details to attackers.
Question 5: An organization wants to verify that a third-party library has not been tampered with before deployment. Which control BEST achieves this?
- Scanning the library with antivirus software only
- Verifying the library's cryptographic hash against the publisher's published checksum (Correct answer)
- Running the library in a test environment for 24 hours
- Reviewing the library's source code comments
Correct answer: Verifying the library's cryptographic hash against the publisher's published checksum
Comparing the library's hash to the vendor-published checksum confirms integrity and detects any unauthorized modification.
Question 6: Which mobile security control prevents an application from communicating with a fraudulent server even if the device trusts a rogue CA certificate?
- Certificate transparency logging
- Certificate pinning embedded in the application (Correct answer)
- HTTP Strict Transport Security (HSTS) headers
- Two-factor authentication at login
Correct answer: Certificate pinning embedded in the application
Certificate pinning hardcodes the expected certificate or public key within the app, rejecting connections to servers presenting different certificates.
Question 7: A security team is evaluating container security. Which risk is MOST unique to containerized environments compared to traditional VMs?
- Unpatched guest OS kernels
- Container escape allowing access to the shared host kernel (Correct answer)
- Weak administrative passwords on management consoles
- Unencrypted data at rest on storage volumes
Correct answer: Container escape allowing access to the shared host kernel
Containers share the host OS kernel, so a container escape vulnerability can give an attacker access to the host and all other containers.
Question 8: Which malware category is specifically designed to remain hidden on a compromised system by modifying OS components to conceal its presence?
- Ransomware
- Rootkit (Correct answer)
- Worm
- Adware
Correct answer: Rootkit
Rootkits modify operating system components such as system calls or kernel modules to hide processes, files, and network connections from administrators.
Question 9: What is the primary purpose of Address Space Layout Randomization (ASLR) as an exploit mitigation?
- Encrypting memory pages containing sensitive data at rest
- Randomizing the memory addresses of process components to make exploitation harder (Correct answer)
- Preventing execution of code marked as data in the NX bit
- Scanning heap memory for known shellcode signatures
Correct answer: Randomizing the memory addresses of process components to make exploitation harder
ASLR randomizes the base addresses of the stack, heap, and libraries so attackers cannot reliably predict memory locations needed for exploitation.
Question 10: An attacker intercepts traffic between a mobile banking app and its server and replaces the TLS certificate with their own. Which control would have PREVENTED this attack?
- Enabling device encryption on the mobile device
- Implementing certificate pinning in the mobile application (Correct answer)
- Using HTTP instead of HTTPS to avoid certificate issues
- Requiring biometric authentication at app launch
Correct answer: Implementing certificate pinning in the mobile application
Certificate pinning causes the app to reject any certificate that does not match the expected pinned value, blocking man-in-the-middle certificate substitution.
Question 11: Which software development practice MOST directly reduces the attack surface of an application at the design phase?
- Conducting penetration testing after deployment
- Applying the principle of least privilege and minimizing exposed interfaces (Correct answer)
- Using only open-source frameworks
- Logging all user actions to a SIEM
Correct answer: Applying the principle of least privilege and minimizing exposed interfaces
Minimizing exposed interfaces and granting only necessary privileges during design reduces the number of potential attack vectors before code is written.
Question 12: A user reports their system shows a ransom note demanding cryptocurrency, and all personal files have the extension '.locked'. Which type of malware has infected the system?
- Spyware
- Ransomware (Correct answer)
- Rootkit
- Trojan horse
Correct answer: Ransomware
Ransomware encrypts victim files and demands payment for the decryption key, commonly appending a new extension to encrypted files.
Question 13: In secure application development, what does the term 'input validation' primarily aim to prevent?
- Unauthorized access to administrative functions
- Injection attacks caused by untrusted data being processed as commands (Correct answer)
- Weak password storage using reversible encryption
- Man-in-the-middle attacks during data transmission
Correct answer: Injection attacks caused by untrusted data being processed as commands
Input validation ensures that user-supplied data conforms to expected formats, preventing it from being interpreted as executable commands in SQL, OS, or other interpreters.
Question 14: Which of the following BEST describes a supply chain attack in the context of software security?
- An attacker exploiting a buffer overflow in the target application directly
- Compromising a trusted third-party component, library, or build process to deliver malicious code (Correct answer)
- Using social engineering to obtain developer credentials
- Performing a denial-of-service attack on the software vendor's update servers
Correct answer: Compromising a trusted third-party component, library, or build process to deliver malicious code
Supply chain attacks target trusted upstream components—such as open-source libraries or CI/CD pipelines—to inject malicious code that is then distributed to all downstream users.
Question 15: Which virtualization security control ensures that a virtual machine cannot read the memory of another VM running on the same hypervisor?
- VM-level firewall rules between guest OSes
- Hypervisor-enforced memory isolation between VM address spaces (Correct answer)
- Encrypted virtual disk images on shared storage
- Separate VLAN assignment for each virtual machine
Correct answer: Hypervisor-enforced memory isolation between VM address spaces
The hypervisor enforces strict memory isolation so each VM's address space is inaccessible to other VMs, preventing cross-VM memory snooping.
Question 16: A developer uses parameterized queries (prepared statements) when building database calls. Which attack class does this MOST directly mitigate?
- Cross-site request forgery (CSRF)
- SQL injection (Correct answer)
- Cross-site scripting (XSS)
- Path traversal
Correct answer: SQL injection
Parameterized queries separate SQL code from user-supplied data, preventing attackers from injecting SQL syntax that alters the intended query logic.
Question 17: What distinguishes a Type 1 (bare-metal) hypervisor from a Type 2 (hosted) hypervisor in terms of security?
- Type 1 requires a host OS, which increases the attack surface compared to Type 2
- Type 1 runs directly on hardware without a host OS, reducing the attack surface (Correct answer)
- Type 2 provides stronger VM isolation because it uses hardware-assisted virtualization
- Type 2 is always more secure because it runs within a hardened OS
Correct answer: Type 1 runs directly on hardware without a host OS, reducing the attack surface
Type 1 hypervisors run directly on hardware, eliminating the host OS layer and its associated vulnerabilities, resulting in a smaller attack surface.
Question 18: Which endpoint security technology monitors and controls program execution based on a list of approved applications?
- Intrusion detection system (IDS)
- Application whitelisting (Correct answer)
- Data loss prevention (DLP)
- Network access control (NAC)
Correct answer: Application whitelisting
Application whitelisting allows only pre-approved programs to execute, blocking malware and unauthorized software by default.
Question 19: An organization discovers that an attacker exploited a vulnerability in an unpatched web server plugin that had been public for 60 days. This BEST illustrates the risk of:
- Zero-day vulnerabilities with no available patch
- Failure to apply available patches within an acceptable remediation window (Correct answer)
- Weak authentication on the web server administrative console
- Inadequate network segmentation between DMZ and internal systems
Correct answer: Failure to apply available patches within an acceptable remediation window
A 60-day-old patch represents a known, patchable vulnerability; the risk materializes from the organization's failure to apply the available fix within its remediation SLA.
Question 20: Which security feature in modern CPUs helps prevent shellcode execution by marking memory regions as either executable or non-executable?
- Address Space Layout Randomization (ASLR)
- Data Execution Prevention (DEP) / NX bit (Correct answer)
- Stack canaries
- Control Flow Integrity (CFI)
Correct answer: Data Execution Prevention (DEP) / NX bit
DEP (also called the NX/XD bit) marks data memory pages as non-executable, preventing attackers from executing shellcode injected into stack or heap regions.
Question 21: A security analyst observes that a process is making outbound connections to multiple IP addresses on port 6667 at regular intervals. This behavior MOST likely indicates:
- A legitimate software update process using a custom protocol
- Malware communicating with a command-and-control server via IRC protocol (Correct answer)
- An encrypted backup service using non-standard ports
- A misconfigured DNS resolver querying multiple upstream servers
Correct answer: Malware communicating with a command-and-control server via IRC protocol
Port 6667 is the default IRC port, and periodic beaconing to multiple external IPs is a classic indicator of botnet malware checking in with its C2 infrastructure.
Which technique does a Web Application Firewall (WAF) primarily use to detect SQL injection attacks?
What Practice Test Geeks adds beyond an AI chat for SSCP Certification
An AI chatbot can quiz you, but it can't reproduce the exam conditions or keep your record. Here you get:
- A timed, full-length SSCP Certification mock exam — 125 questions in 120 minutes with a 70% pass mark, modeled on the official exam's question count and time limit, followed by a score report broken down by exam domain.
- A fixed SSCP Certification question bank: the same test every attempt, so your score is comparable from one try to the next instead of changing with every regenerated quiz.
- Progress saved on your device: completed tests, scores and missed questions stay in My Progress, so you can retake only what you got wrong.
- A printable SSCP Certification cheat sheet you can print or save as a PDF.
- SSCP Certification flashcards built from the same question bank.
These practice questions were written with AI tools. They are not real exam questions. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- isc2.org — Passing score, eligibility, score validity, registration deadline, renewal, exam format, score release, time limit, fees, exam information · verified Nov 2026
- pearsonvue.com — Test delivery · verified Nov 2026