🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Spring Boot Caching: all 10 questions

Quiz: Spring Boot Caching · Question 1 of 10

In the cache-aside pattern, what happens on a cache miss?

In the cache-aside pattern, what happens on a cache miss?

  1. A.An error is returned to the user
  2. B.The cache is cleared
  3. C.The data is loaded from the database, stored in the cache, and returned
  4. D.The request waits until another request fills the cache
Answer & explanation

Correct answer: The data is loaded from the database, stored in the cache, and returned

A miss means "not cached yet": load it once, then later requests hit.

Can you get the rest right without peeking?

Take the timed Quiz: Spring Boot Caching quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →