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 Exam Salesforce MuleSoft Developer II Topic 5 Question 27 Discussion

Actual exam question for Salesforce's Salesforce MuleSoft Developer II exam
Question #: 27
Topic #: 5
[All Salesforce MuleSoft Developer II Questions]

A developer deploys an API to CloudHub and applies an OAuth policy on API Manager. During testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box HTTP Caching policy is applied first, and the OAuth API policy is applied second.

What will happen when an HTTP request is received?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Kirk
22 hours ago
Option D seems more logical to me. If there's a cache miss, both the OAuth and HTTP Caching policies should be evaluated before the API retrieves the data from the implementation.
upvoted 0 times
...
Veronique
9 days ago
You're right, I didn't consider that. So the correct answer might actually be D, where both OAuth and HTTP Caching policies are evaluated in case of a cache miss.
upvoted 0 times
...
Bettina
10 days ago
I think option B is the correct answer. In the case of a cache hit, only the HTTP Caching policy should be evaluated, and the cached response should be returned to the caller.
upvoted 0 times
...
Toshia
17 days ago
That makes sense, but wouldn't the OAuth policy also be evaluated in case of a cache miss?
upvoted 0 times
...
Veronique
26 days ago
I disagree, I believe the answer is C. The HTTP Caching policy is evaluated in case of a cache miss, and the data is retrieved from the API implementation.
upvoted 0 times
...
Toshia
28 days ago
I think the answer is B, because only the HTTP Caching policy is evaluated in case of a cache hit.
upvoted 0 times
...

Save Cancel