Tomcat Server Solved MCQ

Tomcat Server Solved MCQ




Tomcat Solved MCQ contain set of 10 MCQ questions for Tomcat MCQ which will help you to clear beginner level quiz.



1. What is the default port number of Tomcat

  1. 7001
  2. 8080
  3. 8443
  4. 8001

2. What are the two types of connectors used in Tomcat

  1. Http connector and JSP connector
  2. AJP connector and JSP connector
  3. Http connector and AJP connector
  4. None of the above

3. Which HTTP method gets invoked when a user clicks on a link? Select the one correct answer.

  1. GET method
  2. POST method
  3. HEAD method
  4. PUT method

4.  Sharing of session data across multiple web servers is called _____________ ?

  1. Clustering
  2. ShareWeb
  3. loadBalancer
  4. None of the above

5.  In order to enable SSI in Tomcat, which file under /CATALINA_BASE/server/lib/ directory has to be renamed first before making changes in web.xml.

  1. SSI-Servelets.renametojar
  2. Servlets-ssi.renametojar
  3. Servelet.renametojar
  4. SSL-Serveltes.renametojar

6. What is called as Tomcat’s JSP Engine.

  1. Jasper.
  2. Casper.
  3. Catalina
  4. Tomcat JSP Engine.

7. At runtime, Jasper is able to automatically detect JSP file changes and recompile them
1. True 
2. False
 
8. __________ is specialized web server that supports servlet execution

  1. Web EJB Container
  2. Tomcat Servlet Container.
  3. Tomcat  Jasper Container
  4. Tomcat  Catalina Container

9. How to communicate between two tomcat webservers in two diff systems

  1. By using connection module
  2. By using plug module
  3. By using connector module
  4. By using Tomcat Sink

10. The Basic Web Services Platform is combination of ______ and ______

  1. CSS + HTTP
  2. JAVA + HTTP
  3. XML + HTTP
  4. JAVA + JSP