MuleSoft Certified Platform Architect – Level 1 — Question 31
How can the application of a rate limiting API policy be accurately reflected in the RAML definition of an API?
Answer options
- A. By refining the resource definitions by adding a description of the rate limiting policy behavior
- B. By refining the request definitions by adding a remainingRequests query parameter with description, type, and example
- C. ׀’y refining the response definitions by adding the out-of-the-box Anypoint Platform rate-limit-enforcement securityScheme with description, type, and example
- D. By refining the response definitions by adding the x-ratelimit-* response headers with description, type, and example
Correct answer: D
Explanation
The correct answer is D because adding the x-ratelimit-* response headers directly communicates the rate limiting status to the client. Options A, B, and C do not effectively convey the rate limiting information in the response, as they focus on resource or request definitions rather than the required response headers.