Which expression can the engineer use to fulfill this requirement?

Posted by: Pdfprep Category: 1Y0-340 Tags: , ,

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?
A . http.req.url.endswith (“.jpeg) & & http.req.method.eq (POST)
B . http.req.url.contains (“.jpeg) & & http.req.method.eq (GET)
C . http.req.url.endswith (“.jpeg) || http.req.method.eq (GET)
D . http.req.header (“Content-Type”).contains (“image/jpeg”) || http.req.method.eq(POST)

Answer: D

Leave a Reply

Your email address will not be published.