Tomcat Solved MCQ
Tomcat Solved MCQ contain set of 10 MCQ questions for Tomcat MCQ which will help you to clear beginner level quiz.
1. Where do you make resource-name entry for jdbc when configuring JDBC for web application in tomcat
- META-INF/web.xml
- META-INF/context.xml
- WEB-INF/context.xml
- WEB-INF/web.xml
2. _______ will allow you to load properties file in Tomcat
- ResorceAllocater
- PropertyBundle
- PropertyLoader
- ResourceBundle
3. While creating multiple virtual hosts, host entry is made into which configuration file
- host.xml
- hostname.xml
- server.xml
- config.xml
4. HTTP ERROR 401 is thrown. What does this mean?
- BAD REQUEST
- FORBIDDEN
- FILE NOT FOUND
- UNAUTHORIZED USAGE
5. If you want to clear Tomact Cache while using web application then from which location we need to clear?
- Tomcat_HOME/webapps
- Tomcat_HOME/work/Catalina/localhost/
- Tomcat_HOME/Catalog
- Tomcat_HOME/catalog/localhost/cache
6. The SSLEngine attribute by default is set as
- SSLEngine=”off”
- SSLEngine=”on”
- SSLEngine=”8443″
- SSLEngine=”443″
7. Which of these valves can be used for Tomcat configuration???
- Access Log
- Remote Address Filter
- Request Dumper
- All the above
8. What does MAC stands for in tomcat?
- medium application control
- multiple access control
- medium access control
- medium access configuration
9. _________ is to hide private IP address from public IP address and give a certain level of security to the organization.
- NAT protocol
- HTTP Protocol
- APJ Protocol
- None of the above
10. _________ is a new technology is introduced with Tomcat 4 which enables you to link an instance of a Java class with a specific Catalina container.
- Tomcat Jasper
- Tomcat Casper
- Tomcat JSP
- Tomcat Valve