Question 1
A Mule API is designed to retrieve product catalog information. The backend system that holds this data is slow, and the data only changes once every 24 hours during a nightly batch update. The API is deployed to three CloudHub workers and receives a high volume of requests for the same product data repeatedly. The primary goals are to dramatically improve API response time and reduce the load on the legacy backend. Which caching strategy should be implemented to meet these requirements effectively?
Answer and explanation
Correct answer: B
Object Store v2 provides a distributed, shared cache that is accessible by all workers in a CloudHub deployment. By configuring the Cache scope to use a persistent Object Store, a product's data will be fetched from the backend only once. Subsequent requests for that same product, regardless of which worker receives the request, will be served from the shared cache, meeting all requirements for performance improvement and load reduction.