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
2 months 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
Anastacia
11 days ago
That makes sense, it's important to handle caching efficiently for better performance.
upvoted 0 times
...
Talia
17 days ago
Then the API retrieves the data and stores it in the Object Store.
upvoted 0 times
...
Dannette
1 months ago
I agree, the HTTP Caching policy should be evaluated first in case of a cache miss.
upvoted 0 times
...
Stephen
1 months ago
I think option C is the correct choice.
upvoted 0 times
...
...
Katlyn
2 months 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
2 months 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
Blossom
2 months ago
I agree, it makes sense to have both policies evaluated before retrieving the data.
upvoted 0 times
...
Hannah
2 months ago
I think option D is the correct one. Both policies should be evaluated in case of a cache miss.
upvoted 0 times
...
...
Veronique
2 months 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
2 months 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
Fredric
12 days ago
By reconfiguring the API, the developer can optimize the performance by leveraging caching.
upvoted 0 times
...
Nikita
13 days ago
It makes sense to prioritize the HTTP Caching policy for faster responses.
upvoted 0 times
...
Nicholle
15 days ago
I agree, the HTTP Caching policy should handle the cached response in that scenario.
upvoted 0 times
...
Evangelina
16 days ago
Option B is correct. Only the HTTP Caching policy is evaluated in case of a cache hit.
upvoted 0 times
...
Veronica
24 days ago
It's important to optimize the API configuration to ensure efficient performance during testing.
upvoted 0 times
...
Gearldine
1 months ago
By applying the HTTP Caching policy first, it helps improve the API response time for cached requests.
upvoted 0 times
...
Tiffiny
1 months ago
I agree, the cached response should be returned to the caller without evaluating the OAuth policy.
upvoted 0 times
...
Basilia
2 months ago
Option B is correct. Only the HTTP Caching policy is evaluated in case of a cache hit.
upvoted 0 times
...
...
Toshia
3 months ago
That makes sense, but wouldn't the OAuth policy also be evaluated in case of a cache miss?
upvoted 0 times
...
Veronique
3 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
3 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