Exam MCIA - Level 1 All QuestionsBrowse all questions from this exam
Question 92

A Mule application is being designed for deployment to a single CloudHub worker. The Mule application will have a flow that connects to a SaaS system to perform some operations each time the flow is invoked.

The SaaS system connector has operations that can be configured to request a short-lived token (fifteen minutes) that can be reused for subsequent connections within the fifteen minute time window. After the token expires, a new token must be requested and stored.

What is the most performant and idiomatic (used for its intended purpose) Anypoint Platform component or service to use to support persisting and reusing tokens in the Mule application to help speed up reconnecting the Mule application to the SaaS application?

    Correct Answer: A

    A nonpersistent object store is the most performant option for this scenario. This type of store allows quick access to data as it is stored in memory and does not require storage in a database or persistent storage, reducing latency. The nonpersistent object store is sufficient for storing the short-lived token as losing the token upon application crash is not critical; a new token can easily be requested.

Discussion
ExamschafferOption: A

I would select A. Nonpersistent object store, because it is more performant to query token from in-memory object store than from persistent and it is not critical to lose the token if the application crashes. Token can be queried again.

majda091983Option: A

since the question is about performance the answer is A. option B if reliability or shared data between multi workers are needed

lzrvsOption: A

A, since overall performance is better due to Secondary Memory Access times, vs HTTP communication with the OSv2 API. And since the application is being designed to operate on a single worker deployment mode, there is no need to share information across workers for cached tokens, for good measure.

jmayOption: B

Object store with a TTL of <=15mins