Logstash MCQ Questions And Answers - DevOps
Logstash MCQs : This section focuses on "basics" of Logstash. These Multiple Choice Questions (MCQ) should be practiced to improve the Logstash skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. __________ is an open source data collection engine with real-time pipelining capabilities.
A. Makefile
B. Logstash
C. Mantis
D. Nagios
View Answer
Ans : B
Explanation: Logstash is an open source data collection engine with real-time pipelining capabilities. Logstash can dynamically unify data from disparate sources and normalize the data into destinations of your choice. Cleanse and democratize all your data for diverse advanced downstream analytics and visualization use cases.
2. Logstash is an open source tool for collecting, parsing, and storing logs for future use.
A. Yes
B. No
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Logstash is an open source tool for collecting, parsing, and storing logs for future use.
3. Logstash tools are based on?
A. Cassendra
B. Neo4J
C. ElasticSearch
D. SVN
View Answer
Ans : C
Explanation: Kibana 3 is a web interface that can be used to search and view the logs that Logstash has indexed. Both of these tools are based on Elasticsearch.
4. Which java version not supported in Logstash.
A. Java 8
B. Java 9
C. Both A and B
D. None of the above
View Answer
Ans : B
Explanation: Logstash requires Java 8. Java 9 is not supported.
5. A Logstash pipeline has ________ required elements.
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : A
Explanation: A Logstash pipeline has two required elements, input and output, and one optional element, filter. The input plugins consume data from a source, the filter plugins modify the data as you specify, and the output plugins write the data to a destination.
6. The ________ plugin enables you to parse the unstructured log data into something structured and queryable.
A. geoip
B. queryable
C. grok filter
D. config
View Answer
Ans : C
Explanation: The grok filter plugin enables you to parse the unstructured log data into something structured and queryable.
7. _________ an event completely, for example, debug events.
A. clone
B. geoip
C. mutate
D. drop
View Answer
Ans : D
Explanation: drop: drop an event completely, for example, debug events.
8. _________ are the final phase of the Logstash pipeline.
A. Inputs
B. Process
C. Outputs
D. Drop
View Answer
Ans : C
Explanation: Outputs are the final phase of the Logstash pipeline. An event can pass through multiple outputs, but once all output processing is complete, the event has finished its execution.
9. Does Codecs is streamed filters that can operate as part of an input or output?
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, Codecs is streamed filters that can operate as part of an input or output
10. geoip plugin looks up IP addresses, derives geographic location information from the addresses, and adds that location information to the logs.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, geoip plugin looks up IP addresses, derives geographic location information from the addresses, and adds that location information to the logs
Discussion