You're choosing between server-side sessions and JWTs for authentication in a web application. How will you choose, and what problems will you run into with each approach?
~4 min by voice
How to approach it
This checks whether the candidate understands the real trade-offs between stateful sessions and stateless tokens: revocation, browser storage, XSS/CSRF, and whether they can choose based on context rather than fashion.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.