Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam MCD-Level-2 Topic 3 Question 42 Discussion

Actual exam question for MuleSoft's MCD-Level-2 exam
Question #: 42
Topic #: 3
Refer to the exhibit.
A Mute Object Store is configured with an entry TTL of one second and an expiration interval of 30 seconds.
What is the result of the flow if processing between os'store and os:retrieve takes 10 seconds?

Suggested Answer: A Vote an answer

Explanation
The result of the flow is nullPayload if processing between os:store and os:retrieve takes 10 seconds. This is because the entry TTL of the object store is one second, which means that any stored value expires after one second and is removed from the object store. The expiration interval of 30 seconds only determines how often the object store checks for expired values, but it does not affect the TTL. Therefore, when os:retrieve tries to get the value after 10 seconds, it returns nullPayload because the value has already expired and been removed.
References: https://docs.mulesoft.com/object-store/osv2-faq#how-does-the-time-to-live-work

by a369161541 at Feb 21, 2024, 07:18 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
nikolanrt6315
2024-02-23 02:05:37
Selected Answer: D
The correct answer is D("testPayload").
We have an entryTtl of 1 sec, and an expirationInterval of 30sec.
Time between OS:Store and OS:Retrieve is 10ses.
entryTtl represents how long we want our key-value pair to be stored in OS.(NOT when to delete it).
expirationInterval represents a thread that runs every 30sec to evict a key-value pair.
Based on this, after the 10sec entryTtl has timed out, but expirationInterval thread didn't run, so we can access our "testKey".
upvoted 2 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.