Salesforce Certified MuleSoft Platform Architect Practice Questions

Salesforce Certified MuleSoft Platform Architect exam preparation

Salesforce Certified MuleSoft Platform Architect practice questions in English: 119 questions with explanations. The mock exam has 60 questions and 120 minutes.

Salesforce Certified MuleSoft Platform Architect free question 5 / 10 · Domain 5: Governing web APIs on Anypoint Platform

An API instance has SLA tiers defined and two SLA-based policies applied, both with Expose Headers enabled. What do the X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset response headers report?

  1. The limits and remaining capacities of the two policies, listed one after the other separated by commas
  2. The limit and the remaining capacity of the policy that was applied first
  3. The limit and the remaining capacity of the most restrictive of the policies
  4. The sum of the limits and the sum of the remaining capacities of the two policies
Show the answer and explanation

Answer: C

Why this is correct
The Response Headers section says that three headers are included in responses to inform users about the SLA restrictions and the remaining spare capacity that the SLA allows. When multiple SLA-based policies are in place, the headers report spare capacity for only the most restrictive policy. For example, X-RateLimit-Limit: 20, X-RateLimit-Remaining: 14, and X-RateLimit-Reset: 19100 tell a user that within the next 19100 milliseconds only 14 more requests are allowed, out of 20 within the window.

Why the other options are wrong
"The limit and the remaining capacity of the policy that was applied first" … The page says that with multiple SLA-based policies the headers report spare capacity for only the most restrictive policy, not the first one applied.
"The limits and remaining capacities of the two policies, listed one after the other separated by commas" … The headers report one policy, the most restrictive. They do not list both.
"The sum of the limits and the sum of the remaining capacities of the two policies" … The page does not add the policies together. It reports the spare capacity of only the most restrictive policy.

Reading the headers
The Reset value is in milliseconds and tells the client how long until the window renews. In the page's example, X-RateLimit-Limit is 20, X-RateLimit-Remaining is 14, and X-RateLimit-Reset is 19100, which tells users that within the next 19100 milliseconds only 14 more requests are allowed by the SLA.

Go to the Salesforce Certified MuleSoft Platform Architect practice app (10 free questions; purchase unlocks all questions)

See the full practice set