🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Scaling and Load Balancing: all 10 questions

Quiz: Scaling and Load Balancing · Question 6 of 10

A user logs in, and the next request goes to a different server that asks them to log in again. What is the likely caus…

A user logs in, and the next request goes to a different server that asks them to log in again. What is the likely cause?

  1. A.The load balancer uses HTTPS
  2. B.The database has too many indexes
  3. C.The session was stored in the first server's memory instead of a shared store
  4. D.The servers are too large
Answer & explanation

Correct answer: The session was stored in the first server's memory instead of a shared store

Sessions belong in Redis, the database or a signed token so any server can serve the user.

Can you get the rest right without peeking?

Take the timed Quiz: Scaling and Load Balancing quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →