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:

Jules
6 days ago
I'm going with option C. If there's a cache miss, the HTTP Caching policy should evaluate first, then the API should retrieve the data and store it in the Object Store.
upvoted 0 times
...
Katlyn
7 days ago
Ha! I bet the developer is regretting that decision to apply the OAuth policy after the HTTP Caching policy. Talk about a recipe for disaster!
upvoted 0 times
...
Kirk
9 days 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
17 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
18 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
25 days ago
That makes sense, but wouldn't the OAuth policy also be evaluated in case of a cache miss?
upvoted 0 times
...
Veronique
1 months 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
1 months 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77