Exam4Training

How can the application of a rate limiting API policy be accurately reflected in the RAML definition of an API?

How can the application of a rate limiting API policy be accurately reflected in the RAML definition of an API?
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 remaining Requests query parameter with description, type, and example
C . By 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

Answer: D

Explanation:

Correct Answer. By refining the response definitions by adding the x-ratelimit-* response headers with description, type, and example

*****************************************

References:

https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling#response-headers

https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling-sla-based-policies#response-headers

Exit mobile version