MuleSoft Certified Platform Architect – Level 1 — Question 32
An API experiences a high rate of client requests (TPS) with small message payloads.
How can usage limits be imposed on the API based on the type of client application?
Answer options
- A. Use an SLA-based rate limiting policy and assign a client application to a matching SLA tier based on its type.
- B. Use a spike control policy that limits the number of requests for each client application type.
- C. Use a cross-origin resource sharing (CORS) policy to limit resource sharing between client applications, configured by the client application type.
- D. Use a rate limiting policy and a client ID enforcement policy, each configured by the client application type.
Correct answer: A
Explanation
The correct answer is A because using an SLA-based rate limiting policy allows for tailored restrictions based on the specific needs and capabilities of different client applications. Options B and D also propose rate limiting but do not specifically utilize SLAs, while option C incorrectly suggests using CORS, which is not meant for rate limiting.