Skip to content
Sharp

Authentication · interview question

How would you explain a significant advantage of using stateless JWT tokens over traditional session-based authentication in an interview?

Multiple choiceHardchapter-17-curatedpremiumauthenticationsalting-and-bcrypt
Choose one answer
Answer and explanation

Correct answer

C. Scalability across distributed systems.

Why

Stateless JWT tokens do not require server-side storage of session data, making them highly scalable across distributed systems. Each request contains all necessary authentication information, reducing the overhead of session management.

Test yourself on Authentication

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

Start free test
All Authentication questions →