Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Apache Tomcat Online Test

Topics Covered

  • JDBC
  • Deployment
  • Administration
  • Logging
  • Security

Useful for hiring

  • Apache Tomcat Administrator
  • Tomcat Server Admin
  • Linux System Admin - Apache Tomcat
  • System Administrator –Apache Tomcat

Start hiring job-fit candidates using this assessment


"We are impressed by the caliber, depth, and breadth of the assessments provided by Interview Mocha. With Interview Mocha's online proctoring & powerful reports, we are able to hire quality candidates overcoming geographical barriers."

Megan Akhras, J'Excelle,Canada,
Co-founder & director

Assume you are facing an issue with a specific version of Tomcat and you need to gather more information about the issue. What can you do to achieve this?

Note: There can be multiple correct answers to this question.

    • Increase the log level of Tomcat

    • Run catalina using a debugger using the command:
      ./ debugger

    • Run catalina using a debugger using the command:
      ./ debug

    • Run catalina using a debugger using the command:
      ./ jpda start


Assume a new administrator has started Tomcat with the root user. Then he was informed that he must start it using the user designed to run with Tomcat due to security reasons. But when he started Tomcat, he faced permission errors. How can he solve this issue?

    • Change the ownership of all script files only to root user

    • Add tomcat user to sudoers and run the startup script using the command:

    • Change the ownership of all files from root to the Tomcat user

    • Change the ownership of all files to root


Assume you have deployed a new version of your app on tomcat, however, after the new deployment Tomcat stops responding sometimes. Unfortunately, there are no entries in all logs. How can you proceed with troubleshooting without redeployment of a newly modified WAR?

    • Extract a thread dump from memory using kill -3 when the issue occurs

    • Create a new installation of Tomcat and deploy the application

    • Upgrade the Tomcat version

    • There is no way to gather information from Tomcat when the issue occurs, and there are no log entries

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates