1Y0-351 Free Dumps Study Materials
Question 5: Scenario: A NetScaler Engineer has discovered that the object home.php is NOT found in the
cache on the system.
Below is the relevant configuration:
add cache contentGroup cache_content_group_1 -relExpiry 0
add cache policy cache_pol_1 -rule "http.REQ.URL.CONTAINS(\"home.php\")" -action MAY_CACHE -
storeInGroup cache_content_group_1 add cache policy cache_pol_2 -rule
"http.REQ.METHOD.EQ(\"GET\")" -action NOCACHE add cache policy cache_pol_3 -rule
"HTTP.RES.HEADER(\"Set-Cookie\").EXISTS" -action CACHE bind cache global cache_pol_1 -priority 90
-gotoPriorityExpression END -type REQ_OVERRIDE bind cache global cache_pol_2 -priority 100 -
gotoPriorityExpression END -type REQ_OVERRIDE bind cache global cache_pol_3 -priority 100 -
gotoPriorityExpression END -type RES_OVERRIDE The data from the client and the server are as
following:
GET /home.php HTTP/1.1
Host: www.website.com
User-Agent: Mozilla Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-
us,en;q=0.5 Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Date: Thu, 09 Oct 2014 18:25:00 GMT
Cookie: sessionid=100xyz
HTTP/1.1 200 OK
Date: Thu, 09 Oct 2014 18:25:00 GMT
Server: Apache/2.2.3 (Fedora)
Last-Modified: Wed, 09 Jul 2014 21:55:36 GMT
ETag: "27db3c-12ce-5e52a600"
Accept-Ranges: bytes
Cache-Control: private, max-age=0
Set-Cookie: sessionid=100xyz; expires=Thu, 09-Oct-2014 18:30:00 GMT; path=/ Content-Length: 119
Connection: close
Content-Type: text/html; charset=UTF-8
Why does the object NOT persist in the cache?
A. The request is a GET request.
B. The response has Set-Cookie.
C. The content group is missing a cache selector.
D. The content group has been configured with relExpiry 0.
Correct Answer: D