← 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?
- A.An error is returned to the user
- B.The cache is cleared
- C.The data is loaded from the database, stored in the cache, and returned
- 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 →