Sunday, July 21, 2024

Elasticsearch Interview Questions

Q 1. What is ElasticSearch?

Q2. What do you mean by the term ‘type’ in ElasticSearch?

Q3. What are the advantages of ElasticSearch?

Q4. How to add a mapping to an index?

Q5. What is the process of deleting an index in Elasticsearch?

Q6. Define the terms Shard and Replica in ElasticSearch.

Q7. What is an index in ElasticSearch?

Q8. Which operations can you perform on a document?

Ans: Elasticsearch allows the following operations to be performed over documents:

Indexing a document : this is like create.

Fetching documents : this is like get/fetch data

Updating documents : this is like update data

Deleting documents : this is like delete.

Q9. Explain what is a document in ElasticSearch.

Q10. Explain a node in Elastic Search.

Q11. What is cluster in ElasticSearch?

Q12. What is ElasticSearch fuzzy search?

Q13. What is ElasticSearch Mapping?

Q14. How do you stop the ElasticSearch search service from running on a Linux server?

Q15. Can you please list out different ElasticSearch data types for the document fields?

Q16. How does ElasticSearch work?

Q17. What is ElasticSearch used for?

Advance Interview Question

Q18. Explain Tokenizer in ElasticSearch.

Q19. What is an Analyzer ElasticSearch?

Q20. What is an Inverted index in ElasticSearch?

Q21. Describe the functionality of the cat API(compact and aligned text APIs) in ElasticSearch.

Q22. What are the different ElasticSearch commands available in the cat API?

Q23. Explain ELK stack and its architecture.

Q24. What configuration management tools does Elasticsearch support?

Q25. Is it necessary to install X-Pack for Elasticsearch? What are some essential X-pack commands?

Q26. What do you mean by aggregation in ElasticSearch?

Q27. Does ElasticSearch have a schema?

Q28. How can we perform a search in Elasticsearch?

Q29. Explain Query DSL in ElasticSearch.

Q30. What types of queries does ElasticSearch support?