Apache Storm Interview Questions

  • (5.0)

If you're looking for Apache Storm Interview Questions for Experienced or Freshers, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research Apache Storm has a market share of about 1.3%. So, You still have opportunity to move ahead in your career in Apache Storm Development. Mindmajix offers Advanced Apache Storm Interview Questions 2018 that helps you in cracking your interview & acquire dream career as Apache Storm Developer.

Are you interested in taking up for Apache Storm Certification Training? Enroll for Free Demo on Apache Storm Training!


Q. Define Apache Storm?
Apache storm - An open source distributed computation framework written in Clojure programming language. It is used for processing big data analytics in real time.
Apache Storm Components:

  • Nimbus - Hadoop Job Tracker.
  • Zookeeper: Mediator for Storm Cluster
  • Supervisor: Communicate with Nimbus via Zookeeper

Q. Explain Apache Storm Stream Flow ?
Its a stream processing tool designed for building and monitoring workflows processing.

Q. What are Apache Storm Primitives?

Here are the Apache Storm Primitives: Spouts, Bolts, Streams and Topologies.

  • Spouts: Apache Storm Source of Data
  • Bolts?: Logic unit processing in Storm
  • Streams: Represents the unbounded sequences of tuples (units of data)
  • Topologies: Graph of computation that can be implemented as DAG (Directed Acyclic Graph) data structure.

Check Out Apache Storm Tutorials

Q. Does Apache include a search engine?

Yes, Apache contain a Search engine.You can search a report name in Apache by using the “Search

Q. Explain how you can streamline log files using Apache storm?

To read from the log files you can configure your spout and emit per line as it read the log. The output then can be assign to a bolt for analyzing.

Q. Why does not Apache include SSL?

  • SSL (Secure Socket Layer) data transport requires encryption, and many governments have restrictions upon the import, export, and use of encryption technology.
  • If Apache included SSL in the base package, its distribution would involve all sorts of legal and
  • bureaucratic issues, and it would no longer be freely available.
  • Also, some of the technology required to talk to current clients using SSL is patented by RSA Data Security, who restricts its use without a license.

Q. Explain what streams is and stream grouping in Apache storm?

In Apache Storm, stream is referred as a group or unbounded sequence of Tuples while stream grouping determines how stream should be partitioned among the bolt’s tasks.

Q. Does Apache include any sort of database integration?

No. Apache is a Web (HTTP) server, not an application server. The base package does not include any such functionality. See the PHP project and the mod_perl project for examples of modules that allow you to work with databases from within the Apache environment.

Q. List out different stream grouping in Apache storm?

  • Shuffle grouping
  • Fields grouping
  • Global grouping
  • All grouping
  • None grouping
  • Direct grouping
  • Local grouping

Q. Does Apache come with Java support?

The base Apache Web server package does not include support for Java

Q. Mention how storm application can be beneficial in financial services?

In financial services, Storm can be helpful in preventing

  • Securities fraud
  • Order routing
  • Pricing
  • Compliance Violations

Q. Can we use Active Server Pages (ASP) with Apache?

Apache Web Server package does not include ASP support.
However, a number of projects provide ASP or ASP-like functionality for Apache. Some of these are:

Q. Explain what is Topology_Message_Timeout_secs in Apache Storm?

The maximum amount of time alloted to the topology to fully process a message released by a spout. If the message in not acknowledged in given time frame, Apache storm will fail the message on the spout.

Q. While installing, why does Apache have three config files – srm.conf, access.conf and httpd.conf?

The first two are remnants from the NCSA times, and generally you should be ok if you delete the first two, and stick with httpd.conf.

Q. Explain how to write the Output into a file using Storm?

In Spout, when you are reading file, make FileReader object in Open() method, as such that time it initializes the reader object for worker node. And use that object in nextTuple() method.

Q. How to to stop Apache?

To stop apache you can use.
/etc/init.d/httpd stop command.

Q. Mention what is the difference between Apache Kafka and Apache Storm?

  • Apache Kafka: It is a distributed and robust messaging system that can handle huge amount of data and allows passage of messages from one end-point to another.
  • Apache Storm: It is a real time message processing system, and you can edit or manipulate data in real time. Apache storm pulls the data from Kafka and applies some required manipulation.

Q. How to check for the httpd.conf consistency and any errors in it?
We can check syntax for httpd configuration file by using following command.
httpd –S

Q. What is ServerType directive in Apache Server?

It defines whether Apache should spawn itself as a child process (standalone) or keep everything in a single process (inetd). Keeping it inetd conserves resources. This is deprecated, however.

Q. In which folder are Java Applications stored in Apache?

Java applications are not stored in Apache, it can be only connected to a other Java webapp hosting webserver using the mod_jk connector

Q. What is mod_vhost_alias?

This module creates dynamically configured virtual hosts, by allowing the IP address and/or the Host: header of the HTTP request to be used as part of the pathname to determine what files to serve. This allows for easy use of a huge number of virtual hosts with similar configurations.

Q. What is struct and explain its purpose?

A struts is a open source framework for creating a Java web applications

Q. Tell me Is running apache as a root is a security risk?

No.root process opens port 80, but never listens to it, so no user will actually enter the site with root rights. If you kill the root process, you will see the other kids disappear as well.


Explore Apache Storm Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!


Popular Courses in 2018

Get Updates on Tech posts, Interview & Certification questions and training schedules