Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Exam - Topic 4 Question 46 Discussion

Which type of cache invalidation does the Cache scope support without having to write any additional code?
C) Time to live
A) Write-through invalidation
B) White-behind invalidation
D) Notification-based invalidation

Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Exam - Topic 4 Question 46 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer II (Mule-Dev-301) exam
Question #: 46
Topic #: 4
[All Salesforce Certified MuleSoft Developer II (Mule-Dev-301) Questions]

Which type of cache invalidation does the Cache scope support without having to write any additional code?

Show Suggested Answer Hide Answer
Suggested Answer: C

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


Contribute your Thoughts:

0/2000 characters
Lawrence
3 days ago
Yup, TTL is definitely the easiest option!
upvoted 0 times
...
Layla
8 days ago
I thought write-through was more common?
upvoted 0 times
...
Tamra
13 days ago
Wait, are you sure it's not D) Notification-based?
upvoted 0 times
...
Dorcas
18 days ago
Totally agree, TTL is the way to go!
upvoted 0 times
...
Brice
23 days ago
It's C) Time to live, no extra code needed!
upvoted 0 times
...
Gregoria
29 days ago
Yup, TTL is definitely the easiest option!
upvoted 0 times
...
Emily
1 month ago
I thought write-through was more common?
upvoted 0 times
...
Louisa
1 month ago
Wait, are you sure it's not D) Notification-based?
upvoted 0 times
...
Arlyne
1 month ago
Totally agree, TTL is the way to go!
upvoted 0 times
...
Nadine
2 months ago
It's C) Time to live, no extra code needed!
upvoted 0 times
...
Margarita
2 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.
upvoted 0 times
...
Louisa
2 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.
upvoted 0 times
...
Beckie
2 months ago
I remember practicing a question about notification-based invalidation, but I can't recall if that's what the Cache scope uses.
upvoted 0 times
...
Elina
2 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.
upvoted 0 times
...

Save Cancel