Skip to content

Software Security Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 50 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

What is the OWASP Top 10?

Show ▼

The OWASP Top 10 is a regularly updated list of the most critical web application security risks. The 2021 edition includes:

  • A01: Broken Access Control
  • A02: Cryptographic Failures
  • A03: Injection
  • A04: Insecure Design
  • A05: Security Misconfiguration
  • A06: Vulnerable Components
  • A07: Authentication Failures
  • A08: Data Integrity Failures
  • A09: Logging Failures
  • A10: SSRF

What is Cross-Site Scripting (XSS)?

Show ▼

XSS is a vulnerability where an attacker injects malicious scripts into web pages viewed by other users. Three types:

  • Reflected: script in URL is reflected back in the response
  • Stored: script is permanently stored on the server (e.g., in a database)
  • DOM-based: script manipulates the page's DOM client-side
Prevention: output encoding, CSP, input validation.

What is reflected XSS?

Show ▼

Reflected XSS occurs when user input from a request is immediately included in the response without proper encoding. Example: a search page that displays the query parameter without sanitization. Prevention:

  • HTML-encode all output
  • Use Content-Security-Policy headers
  • Validate and sanitize input

What is stored XSS?

Show ▼

Stored XSS (persistent XSS) occurs when malicious script is saved on the server (e.g., in a database, forum post, or comment) and served to users who view that content. It's more dangerous than reflected XSS because it affects all users who view the page, not just those who click a crafted link. Prevention: sanitize on input, encode on output.

What is DOM-based XSS?

Show ▼

DOM-based XSS occurs entirely on the client side — the vulnerability exists in JavaScript code that processes data from an untrusted source (like location.hash) and writes it to the DOM using unsafe methods like innerHTML or document.write(). The malicious payload never reaches the server. Prevention: use textContent instead of innerHTML, avoid eval().

🎯 Take the Software Security Practice Exam