Weekend Sale Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

312-96 Exam Results

Page: 2 / 4
Total 47 questions

Certified Application Security Engineer (CASE) JAVA Questions and Answers

Question 5

James is a Java developer working INFR INC. He has written Java code to open a file, read it line by line and display its content in the text editor. He wants to ensure that any unhandled exception raised by the code should automatically close the opened file stream. Which of the following exception handling block should he use for the above purpose?

Options:

A.

Try-Catch-Finally block

B.

Try-Catch block

C.

Try-With-Resources block

D.

Try-Catch-Resources block

Question 6

Identify the formula for calculating the risk during threat modeling.

Options:

A.

RISK = PROBABILITY "Attack

B.

RISK = PROBABILITY " ASSETS

C.

RISK = PROBABILITY * DAMAGE POTENTIAL

D.

IRISK = PROBABILITY * VULNERABILITY

Question 7

Which of the following state management method works only for a sequence of dynamically generated forms?

Options:

A.

Cookies

B.

Sessions

C.

Hidden Field

D.

URL-rewriting

Question 8

Which of the following can be derived from abuse cases to elicit security requirements for software system?

Options:

A.

Misuse cases

B.

Data flow diagram

C.

Use cases

D.

Security use cases

Page: 2 / 4
Total 47 questions