Citrix
1Y0-341 · Question #84
A Citrix Engineer needs to configure an application firewall profile to ensure that the images uploaded on the website are NOT malicious. The engineer needs to create a policy to filter the upload…
The correct answer is D. http.req.header ("Content-Type").contains ("image/jpeg") || http.req.method.eq(POST). See the full explanation below for the reasoning.
Question
A Citrix Engineer needs to configure an application firewall profile to ensure that the images uploaded on the website are NOT malicious. The engineer needs to create a policy to filter the upload requests and ensure that they are in JPEG format. Which expression can the engineer use to fulfill this requirement?
Options
- Ahttp.req.url.endswith (".jpeg) &&http.req.method.eq (POST)
- Bhttp.req.url.contains (".jpeg) &&http.req.method.eq (GET)
- Chttp.req.url.endswith (".jpeg) || http.req.method.eq (GET)
- Dhttp.req.header ("Content-Type").contains ("image/jpeg") || http.req.method.eq(POST)
How the community answered
(21 responses)- A5% (1)
- B10% (2)
- D86% (18)
Community Discussion
No community discussion yet for this question.