MCPA - Level 1 Exam QuestionsBrowse all questions from this exam

MCPA - Level 1 Exam - Question 29


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

Show Answer
Correct Answer: D

The application of a rate limiting API policy is accurately reflected in the RAML definition of an API by refining the response definitions to include the x-ratelimit-* response headers with description, type, and example. These headers (such as x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset) provide information on the rate limits applied to the API, the remaining number of requests allowed in the current period, and the time until the rate limit resets, respectively. Including these headers in the response definitions ensures that clients are informed about the rate limiting policies in place.

Discussion

4 comments
Sign in to comment
Pavan_NagineniOption: D
Jul 24, 2021

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

Outdoor25Option: D
Dec 29, 2021

D is correct

AB317Option: D
Aug 8, 2021

Answer: D

calazansOption: D
Jun 22, 2022

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