Skip to content
Sharp

Spring Security · interview question

Why do teams use a stateless authentication mechanism such as JWT in Spring Security in production code?

Multiple choiceMediumchapter-17-curatedpremiumspring-securityspring-security-filter-chain
Choose one answer
Answer and explanation

Correct answer

C. Simplified session management without server-side state.

Why

Stateless authentication mechanisms like JWT do not require the server to maintain session state, simplifying session management and making the system more scalable.

Test yourself on Spring Security

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

Start free test
All Spring Security questions →