Practice question

The command 'set httpcallout httpcallout1 -cacheForSecs 120' changes the cache duration of which HTTP element?

  1. request
  2. response
  3. callout response
  4. callout request

Answer: C — callout response

Cache duration is controlled by the cacheForSecs setting for HTTP callouts, and it applies to the response returned by the callout. The command sets the TTL to 120 seconds for the response of the callout named httpcallout1. This means that for subsequent identical callouts within that window, the ADC will serve the cached callout response instead of issuing a new external HTTP request. The request itself isn’t cached; caching targets the data the callout returns, not the request.

Practice more: Deploy and Manage Citrix ADC with Traffic Management 1Y0-241 Practice Exam →