Which type of cache invalidation does the Cache scope support without having to write any additional code?
Suggested Answer: C
Get Premium Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The Cache scope supports time to live (TTL) as a cache invalidation strategy without having to write any additional code. TTL specifies how long the cached response is valid before it expires and needs to be refreshed. The Cache scope also supports custom invalidation strategies using MEL or DataWeave expressions. Reference: https://docs.mulesoft.com/mule-runtime/4.3/cache-scope#cache_invalidation
23 comments · newest first
FA
Fabiola
2 days ago
I think it's C) Time to live. Seems straightforward.
PO
Portia
7 days ago
Still, I’d go with TTL for less code.
ST
Stefany
13 days ago
True, but notifications can be more responsive.
SH
Sherita
18 days ago
Plus, it automatically expires. Very efficient!
SA
Salena
23 days ago
Exactly! Less hassle with TTL.
PO
Portia
28 days ago
But D requires extra setup, right? TTL is simpler.
ST
Stefany
1 month ago
I’m leaning towards D) Notification-based invalidation. It feels more dynamic.
SH
Sherita
1 month ago
Agreed! TTL is easy to implement.
SA
Salena
1 month ago
I think it's C) Time to live. Seems straightforward.
LA
Lawrence
2 months ago
Yup, TTL is definitely the easiest option!
LA
Layla
2 months ago
I thought write-through was more common?
TA
Tamra
2 months ago
Wait, are you sure it's not D) Notification-based?
DO
Dorcas
2 months ago
Totally agree, TTL is the way to go!
BR
Brice
2 months ago
It's C) Time to live, no extra code needed!
GR
Gregoria
2 months ago
Yup, TTL is definitely the easiest option!
EM
Emily
3 months ago
I thought write-through was more common?
LO
Louisa
3 months ago
Wait, are you sure it's not D) Notification-based?
AR
Arlyne
3 months ago
Totally agree, TTL is the way to go!
NA
Nadine
3 months ago
It's C) Time to live, no extra code needed!
MA
Margarita
3 months ago
I feel like time to live is the most straightforward option here, but I might be mixing it up with something else we studied.
LO
Louisa
4 months ago
I have a vague memory that write-through invalidation was mentioned, but I don't think it's the right answer for this question.
BE
Beckie
4 months ago
I remember practicing a question about notification-based invalidation, but I can't recall if that's what the Cache scope uses.
EL
Elina
4 months ago
I think the Cache scope supports time to live, but I'm not entirely sure. It feels like we covered this in class.