Skip to content
?
Cyber Interview Questions
?
Questions
Quiz
Interview
Guides
Search
Home
Quiz
Cybersecurity (General)
Quiz for
Cybersecurity (General)
1 / 12
30s · 0 pts
Will switching the site to HTTPS prevent SQL injection and XSS?
1
No — but HTTPS does stop SQL injection; only XSS still needs a Content-Security-Policy to prevent.
2
No — TLS protects data in transit; injection flaws are app bugs that HTTPS does nothing to fix.
3
Yes — HTTPS validates and sanitizes each request, blocking SQL injection and XSS at the TLS layer.
4
Yes — since the payload is encrypted, it can't reach the database or run in the victim's browser.
Tip: press 1–4 to answer, Enter for next.