AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-899





Question ID 4717

A web application uses a cookies to track a client as it navigates through the pages that constitutes the application. Which code snippet can be used by the web application to reduce the chance of a cross-site scripting attack by setting some property of the cookie before returning it to the client?
 

Option A

A.    cookie.setHttpOnly(true)
 

Option B

B.    cookie.setMaxAge(3600)
 

Option C

C.    cookie.setPath(“/”)
 

Option D

D.    cookie.setSecure(true)
 

Correct Answer A
Explanation


Question ID 4718

Given the portion of a valid Java EE web application’s directory structure:
 
You want to know whether File1.html, File2.html, and/or File3.html is protected from direct access by your web client’s browsers. What statement is true?

Option A

A.    All three files are directly accessible.
 

Option B

B.    Only File1.html is directly accessible.
 

Option C

C.    Only File2.html is directly accessible.
 

Option D

D.    Only File3.html is directly accessible.
 

Option E

E.    Only File1.html and File2.html are directly accessible.
 

Option F

F.    Only File1.html and File3.html are directly accessible.
 

Correct Answer B
Explanation

Send email to admin@getfreedumps for new dumps request!!!