ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 33 - MCD - Level 2 discussion

Report
Export

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?

A.
nullPayload
Answers
A.
nullPayload
B.
originalPayload
Answers
B.
originalPayload
C.
OS:KEY_NOT_FOUND
Answers
C.
OS:KEY_NOT_FOUND
D.
testPayload
Answers
D.
testPayload
Suggested answer: A

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.

Reference: https://docs.mulesoft.com/object-store/osv2-faq#how-does-the-time-to-live-work

asked 18/09/2024
test testsers
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first