Which of the following method will you use in place of ex.printStackTrace() method to avoid printing stack trace on error?
Answer : C
A developer to handle global exception should use _________ annotation along with @ExceptionHandler method annotation for any class
Answer : B
Suppose there is a productList.jsp page, which displays the list of products from the database for the requested product category. The product category comes as a request parameter value. Which of the following line of code will you use to strictly validate request parameter value before processing it for execution?
Answer : B
Which of the following authentication mechanism does J2EE support?
Answer : D
Which of the following elements in web.xml file ensures that cookies will be transmitted over an encrypted channel?
Answer : D
It is recommended that you should not use return, break, continue or throw statements in _________
Answer : A
The software developer has implemented encryption in the code as shown in the following screenshot.

However, using the DES algorithm for encryption is considered to be an insecure coding practice as DES is a weak encryption algorithm. Which of the following symmetric encryption algorithms will you suggest for strong encryption?
Answer : D