Skip to content
Sharp

Authentication · interview question

Why do teams use JWTs over traditional session-based authentication in production code?

Multiple choiceMediumchapter-17-curatedpremiumauthenticationjwt-signatures
Choose one answer
Answer and explanation

Correct answer

D. JWTs enable stateless server design.

Why

JWTs allow for stateless server architecture, meaning that the server does not need to maintain session information. This reduces server load and can improve scalability, but also requires careful management of token security.

Test yourself on Authentication

A free test with instant, explained results. No account needed.

Start free test
All Authentication questions →