Google Cloud - Apigee Certified API Engineer Exam - Topic 3 Question 25 Discussion
Your implementation has the following characteristics1 There are multiple API Products2 Some API proxies are part of more than one API Product.3 Quotas are configured at the API Product level4 In the Quota policy the count, time interval and unit is referenced using Verify API Key flow variables at runtime.5 A single Quota policy is reused across all the products 6. Each app is assigned to exactly one product.You need to limit the number of requests during weekends for specific products without modifying this design What should you do?
B) Set custom attributes for weekday and weekend count at every product Reference these How variables in the count property of Quota policy at runtime
A) Add custom attributes for counts for every product. Create custom quota policies for every product which references these custom attributes
C) Add custom attributes at the API Product with counts to use for weekdays and weekends. Using flow variables, reference the custom counts in the Quota policy
D) Add custom attributes for count at Product level Use a JS Policy to determine which count to use in Quota policy at runtime Use this count attribute in the Quota Policy.
Currently there are no comments in this discussion, be the first to comment!