Read Apache Storm Interview Questions and Answers for Interview PDF
List of Apache Storm Interview Questions and Answers PDF
What is Autocad?
Autocad is a software program built to design and shape the 2-D and 3-D images. It provides the tools by which a detail design of the product can be done. It also has the option to create detailed design layout, which can be automatically drawn by using source model.
What are the uses of Autocad?
Autocad can be used by the professionals to visualize the imaginary view of the product on a computer system. In Autocad, it is possible by the drafter to make the changes in the product before it gets finalized for design. It also gives the freedom for the designer to implement their various ideas and represent them to the suppliers or their clients.
What are the fields where you see maximum use of Autocad?
Autocad is more popular among the architects, engineers and builders for developing their building layouts.
What is the file formats used in design?
In Autocad, .dwg file format is used for design, it can be an interchangeable format. The file format which is interchangeable has the extension as DXF and operates data operability. It provides different languages which can be used as per the requirement.
How you can create a user interface in Autocad?
User interface can be created by using the command prompts to draw the plots and dialog boxes. The dialog boxes can be displayed by the use of PLOT command and the external database commands (ASE). Setting of CMDDIA to 1, allows the dialog boxes to run the command. The user interface creation also needs the command line to display the entire file so that it can be edited or customized easily.
What is the function of vertical integration?
To enhance the architectural designing of 3D object Autocad uses the vertical integration program. The 3D objects can include walls and other things that are associated with the data having information and simple objects like lines and circles. The data is programmed in such away that it represents only the architectural products and the extracted files, and can be modified according to the requirement.
What is the use of variant in Autocad?
In Autocad variants are used to help in creation, visualizing and rendering the 3D models that include 3D printing as well. Variants allows you to use the functionality of different application according to the requirement.
What are the benefits of using Autocad?
Autocad has replaced the traditional method of drafting and designing which was made by pencil, drafting boards, triangles and compass with just a set of a computer program. The benefits are immense like:
- Saves time and helps to increase the productivity
- It helps to streamline your design and documentation workflow
- Physical ‘3D’ prototype of the design can be quickly created by using Autocad
- 3D models can be directly imported into Autocad by using application like SolidWorks
- Tedious work of drafting can be done easily and you can design and re-design the product in short span of time.
What is the process to draw a line more than one time and save it automatically?
When a need arises to draw a new line the process opens up a new file in a new session to write the file. Autocad allows saving multiple drawing for each session. The files are saved by using the file extension .dwg and it can be modified by using the browser.
What are the steps that enable the drag and drop feature in Autocad?
Autocad provides a way to drag and drop the elements by the use of “NOUN” and “VERB” in a dialog box. It allows the object to move from one place to another. Likewise, the remove or editing function can be done by using “MOVE and ERASE”.
What are the features corrected by Autocad?
Autocad detects the problem and correct it by removing the corruption with the drawing parts. With the available option of adding additional vertices, it also adds vertices to the poly-lines. The error can be corrected or neglected by finding out the exact location of the poly-line that has zero vertices. The object can be deleted or removed after there is no use of it in the system.
How to set up a default drawing directory?
Default drawing directory has sub directories having the information using the windows commands. The applications, which are going to be used, are highlighted, and by using drag and drop features those application will be placed in the default directory. The properties for the application are selected from the menu and dialog boxes displayed on the front.
How you can copy a closed drawing?
The copying of the closed drawing can be done by the designer center in the toolbar of the Autocad. By using the tree view option the copy of closed drawing can be done easily. The modification of the drawing can be done by using graphical interface.
How you can hide the specific layers when plotting in Autocad?
To hide the specific layers while plotting, you can use various options like turning off the layers for plotting , freezing the layers and turning off. Turning off for plotting will show the layers on the screen but won’t output on printing. The layers that are turned off will hide the layers and also it will not appear on the screen.
What is the process of copying the dimension styles from one drawing to another in Autocad?
Copying of dimension styles require setting up the particular dimension style. To copy a dimension style, a new document has to be created. Once it is created, this document will be saved as a drawing template. A new reference will be created by new drawing template document and it will show all the options like layer style, units and blocks. Drawing can be done by seeing the current drawing and dimension style would be same as the original picture. By using the design center, Autocad tools can be used to copy the dimension styles from one drawing to another.
How can you remove the empty layers from drawing?
The layers can be removed only when the object resides in the layers will be removed, once it is removed it is an empty layer. The empty layers cannot be deleted by purge. It might be because the layer is frozen on a viewport or referenced by an object in a block definition. By using EXPORT command it is possible to remove the layer from drawing, which results in creating a DXF file of the drawing. You can edit the dxf file in a text editor and rename all the instances of layers in the file, except the layer definition.
Why Autocad WS is more popular among mobile users?
Autocad WS provides many option for mobile application developer like edit, view and share. They can easily share the application wherever they go and can develop an application in a matter of time. The application can be downloaded and installed from anywhere in the world, ignoring the licensing problem. The users can save file in any format and can run the application on any platform with ease.
How can you make a spring, spiral or screw thread?
To make a spiral or screw thread use an AutoLISP routine such as spiral.1sp, it will create a spiral path according to your need. Then you can use EXTRUDE command with a reference object, using the spiral as the path. Also, there is another way you can do this, by using Mechanical Desktop (MDT) or Autosurf by using augmented lines as path.
Tell me how you assign the keyboard characters or function keys to Autocad commands?
By editing the ACCELERATORS section of the Autocad menu file we can assign keyboard characters to Autocad commands.
How you can open a drawing file that was created with the automatic save features?
Autocad files have an extension of “.dwg” and will only open those files having this extension. To open the drawing files you have to rename it, by using Explorer or DOS prompt you can do that. If you are using EXPLORER you have to make sure that the option of “Hide file extensions for known file types” is not enabled. After the file is copied you can rename and use the OPEN command in Autocad to open the drawing.
What will you do when command prompts appear on the command line instead of ASE dialog box and plot dialog box?
In Autocad, CMDDIA variable controls the display of dialog boxes. To enable these dialog boxes you have to set CMDDIA to 1.
In Autocad, what is the command that is used to rotate the grid at 45 degress?
To rotate the grid at 45 degrees, command UCS is used.
In what situation command prompt appears instead of a dialog boxes?
If a file command is imported from a script or AutoLISP/ ObjectARX/ ADSRX a command prompt appears instead of a dialog box.
What are grips?
Grips are small boxes that appear on the objects you select. You can move or edit an object by dragging a grip.
What you are supposed to do when “Enter Attributes” dialogue doesn’t display?
In this case, two variable controls this function, ATTREQ and ATTDIA , to see the “Enter Attributes” dialogue , make sure both the variables are set to 1 and not 0.
Explain what is Apache Storm? What are the components of Storm?
Apache storm is an open source distributed real-time computation system used for processing real time big data analytics. Unlike Hadoop batch processing, Apache storm does for real-time processing and can be used with any programming language.
Components of Apache Storm includes
- Nimbus: It works as a Hadoop’s Job Tracker. It distributes code across the cluster, uploads computation for execution, allocate workers across the cluster and monitors computation and reallocates workers as needed
- Zookeeper: It is used as a mediator for communication with the Storm Cluster
- Supervisor: Interacts with Nimbus through Zookeeper, depending on the signals received from the Nimbus, it executes the process.
Why Apache Storm is the first choice for Real Time Processing?
- Easy to operate: Operating storm is quiet easy
- Real fast: It can process 100 messages per second per node
- Fault Tolerant: It detects the fault automatically and re-starts the functional attributes
- Reliable: It guarantees that each unit of data will be executed at least once or exactly once
- Scalable: It runs across a cluster of machine
Explain how data is stream flow in Apache Storm?
In Apache storm, data is stream flow with three components Spout, Bolt andTuple
- Spout: A spout is a source of data in Storm
- Bolt: A bolt processes these data’s
- Tuple: Data is passed as Tuple
Mention what is the difference between Apache Hbase and Storm?
|Apache Storm||Apache Hbase|
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.
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.
List out different stream grouping in Apache storm?
- Shuffle grouping
- Fields grouping
- Global grouping
- All grouping
- None grouping
- Direct grouping
- Local grouping
Mention how storm application can be beneficial in financial services?
In financial services, Storm can be helpful in preventing
- Securities fraud
- Order routing
- Compliance Violations
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.
How message is fully processed in Apache Storm?
By calling the nextTuple procedure or method on the Spout, Storm requests a tuple from the Spout. The Spout avails the SpoutoutputCollector given in the open method to discharge a tuple to one of its output streams. While discharging a tuple, the Spout allocates a “message id” that will be used to recognize the tuple later.
After that, the tuple gets sent to consuming bolts, and storm takes charge of tracking the tree of messages that is produced. If the storm is confident that a tuple is processed thoroughly, then it can call the ack procedure on the originating Spout task with the message id that the Spout has given to the Storm
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.
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.
Explain when using field grouping in storm, is there any time-out or limit to known field values?
Field grouping in storm uses a mod hash function to decide which task to send a tuple, ensuring which task will be processed in the correct order. For that, you don’t require any cache. So, there is no time-out or limit to known field values.