Computer Science Fundamentals
Security Fundamentals
7 practice questions. Free questions open a full answer guide; the rest unlock with Pro.
- A reviewer flags that your web app relies only on the SameSite cookie attribute to stop CSRF. Why isn't that enough on its own, and how would you actually protect a state-changing endpoint?
- A teammate proposes blocking SQL injection by escaping dangerous characters in user input before building the query string. Walk me through how you'd respond and what you'd do instead.Go Pro
- A teammate says putting a web application firewall in front of the service makes it secure and we can stop worrying about the rest. How do you respond?Go Pro
- What's the difference between hashing and encryption, and when would you use each — including where symmetric versus asymmetric encryption fits?Go Pro
- Why do we hash passwords with something like Argon2 instead of encrypting them, and what does the salt actually protect against?Go Pro
- You're designing how a new service stores user passwords for its own login. Walk me through what you'd do and the reasoning behind each choice.Go Pro
- Explain how a hash table achieves O(1) average-case lookup and what causes worst-case O(n) performance.Go Pro
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.