Citrix
1Y0-340 · Question #37
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
(37 responses)- A19% (7)
- B3% (1)
- C8% (3)
- D70% (26)
Community Discussion
No community discussion yet for this question.