Citrix DaaS Administration — Question 9
A Citrix Engineer executed the below commands on the NetScaler command-line interface (CLI): add stream selector cacheStreamSelector http.req.url add ns limitidentifier cacheRateLimitIdentifier threshold 5 timeSlice 2000 selectorName cacheStreamSelector add cache policy cacheRateLimitPolicy –rule "http.req.method.eq(get) && sys.check_limit (\ "cacheRateLimitIdentifier\")" –action cache bind cache global cacheRateLimitPolicy- priority 10
What will be the effect of executing these commands?
Answer options
- A. NetScaler will cache a response if the request URL rate exceeds 5 per 2000 milliseconds.
- B. NetScaler will cache a request if the request URL rate exceeds 5 per 2000 seconds.
- C. NetScaler will NOT cache a request if the request URL rate exceeds 5 per 2000 milliseconds.
- D. NetScaler will cache a response if the request URL rate exceeds 5 per 2000 seconds.
Correct answer: B
Explanation
The correct answer is B because the commands set a caching policy that activates when the rate of request URLs exceeds 5 within a specified time frame of 2000 seconds. Options A, C, and D incorrectly reference milliseconds instead of seconds, which changes the meaning of the caching policy significantly.