🎙 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 7 of 10

What is the main limitation of Spring Boot's default simple cache?

What is the main limitation of Spring Boot's default simple cache?

  1. A.Entries never expire and the cache has no size limit
  2. B.It cannot store objects
  3. C.It is shared between all servers
  4. D.It works only with Redis
Answer & explanation

Correct answer: Entries never expire and the cache has no size limit

The ConcurrentHashMap-based default is fine for learning but can grow without bound.

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 →