Interview Q&A · questions with model answers
Web Security & WAF Interview Questions
Part of the study plan for: DevOps Engineer · Cloud Engineer · Backend Engineer · Frontend Engineer · Full Stack Engineer · QA Engineer / SDET
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
How do you protect a web application from DDoS and abusive traffic?
Use layered defenses: a CDN/DDoS service to absorb volumetric attacks (Cloudflare, AWS Shield), WAF rate-based rules and bot management at the edge, application-level rate limits per user/key/IP,…
-
How do you manage vulnerable and outdated dependencies?
Maintain lockfiles and an SBOM, scan dependencies continuously (Dependabot, Renovate, Snyk, npm audit, pip-audit, OWASP Dependency-Check), patch quickly with automated PRs and good test coverage,…
-
How do you protect sign-up, login and checkout flows from bots?
Combine rate limiting, bot management (behavioral signals, device fingerprinting, edge bot scores), challenges (CAPTCHA/Turnstile) shown adaptively on risk, email/phone verification, and anomaly…
-
How do you build security into the development lifecycle?
Threat model designs, use secure frameworks and defaults, code review with security checklists, SAST (Semgrep, CodeQL), dependency and secret scanning, DAST against staging (ZAP), periodic…