ElasticSearch Trivia 2 — Questions and Answers
Question 1: What company originally created Elasticsearch?
- Elastic NV (Correct answer)
- Lucene Foundation
- Apache Software Foundation
- Solr Inc
Correct answer: Elastic NV
Elasticsearch was created by Shay Banon and is developed by Elastic NV, the company he co-founded.
Question 2: Which data format does Elasticsearch use to store documents natively?
- XML
- CSV
- JSON (Correct answer)
- YAML
Correct answer: JSON
Elasticsearch stores all documents as JSON objects, making it schema-flexible and human-readable.
Question 3: What is the default HTTP port Elasticsearch listens on?
- 8080
- 5601
- 9200 (Correct answer)
- 9300
Correct answer: 9200
Elasticsearch's REST API is accessible on port 9200 by default, while port 9300 is used for node-to-node communication.
Question 4: What built-in Elasticsearch component is used for cluster coordination and leader election since version 7.x?
- Apache ZooKeeper
- etcd
- Consul
- Elasticsearch's own master election (Correct answer)
Correct answer: Elasticsearch's own master election
Since version 7.0, Elasticsearch handles its own master node election internally without requiring ZooKeeper.
Question 5: In Elasticsearch, what term describes a named collection of documents with similar characteristics?
- Cluster
- Shard
- Index (Correct answer)
- Node
Correct answer: Index
An index in Elasticsearch is a logical namespace that holds related documents, similar to a database in relational systems.
Question 6: Which programming language was Elasticsearch written in?
- Python
- Go
- Java (Correct answer)
- C++
Correct answer: Java
Elasticsearch is written in Java and runs on the Java Virtual Machine (JVM).
Question 7: What is the name of Elasticsearch's query language introduced as an alternative to Query DSL?
- ESQL (Correct answer)
- EQL
- KQL
- Lucene Query Syntax
Correct answer: ESQL
ES|QL (Elasticsearch Query Language) is a pipe-based query language introduced to simplify querying Elasticsearch data.
What company originally created Elasticsearch?