312-96 Practice Test

312-96 Practice Test practice questions, page 2 of 2, with answer review and explanations.

Question 6

Alice, a Server Administrator (Tomcat), wants to ensure that Tomcat can be shut down only by the user who owns the Tomcat process. Select the appropriate setting of the CATALINA_HOME/conf in server.xml that will enable him to do so.

  1. < server port="" shutdown="" >
  2. < server port="-1" shutdown="" >
  3. < server port="-1" shutdown="SHUTDOWN" >
  4. < server port="8080" shutdown="SHUTDOWN" >

Question 7

Which of the following method will help you check if DEBUG level is enabled?

  1. isDebugEnabled()
  2. EnableDebug ()
  3. IsEnableDebug ()
  4. DebugEnabled()

Question 8

Which of the following elements in web.xml file ensures that cookies will be transmitted over an encrypted channel?

  1. < connector IsSSLEnabled="Yes" / >
  2. < connector EnableSSL="true" / >
  3. < connector SSLEnabled="false" / >
  4. < connector SSLEnabled="true" / >

Question 9

In which phase of secure development lifecycle the threat modeling is performed?

  1. Coding phase
  2. Testing phase
  3. Deployment phase
  4. Design phase