← 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?
- A.Entries never expire and the cache has no size limit
- B.It cannot store objects
- C.It is shared between all servers
- 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 →