1. What is Elasticsearch?
a) A database management system
b) A search engine
c) An operating system
d) A programming language
Answer: b
2. What is a cluster in Elasticsearch?
a) A group of indices
b) A group of documents
c) A group of nodes
d) A group of databases
Answer: c
3. What is an index in Elasticsearch?
a) A data structure that organizes documents into logical groups
b) A type of query that retrieves documents based on specific criteria
c) A method of storing data in a database
d) A way to control access to certain documents
Answer: a
4. What is a document in Elasticsearch?
a) A group of related indices
b) A group of related nodes
c) A structured piece of data
d) A set of search results
Answer: c
5. What is a shard in Elasticsearch?
a) A way to split an index into smaller pieces
b) A way to split a document into smaller pieces
c) A way to split a cluster into smaller pieces
d) A way to split a query into smaller pieces
Answer: a
6. What is the default port number for Elasticsearch?
a) 80
b) 443
c) 9200
d) 9300
Answer: c
7. What is a node in Elasticsearch?
a) A type of query
b) A physical or virtual server that stores data and processes requests
c) A way to organize documents within an index
d) A type of data structure
Answer: b
8. What is a query in Elasticsearch?
a) A way to create or modify an index
b) A way to retrieve data from an index
c) A set of filters applied to an index
d) A way to visualize data in an index
Answer: b
9. What is the difference between an aggregation and a filter in Elasticsearch?
a) An aggregation groups and summarizes data, while a filter restricts data based on specific criteria.
b) An aggregation restricts data based on specific criteria, while a filter groups and summarizes data.
c) An aggregation orders data based on specific criteria, while a filter searches for specific data.
d) An aggregation and a filter are the same thing.
Answer: a
10. What is a term query in Elasticsearch?
a) A query that searches for exact matches of a term in a specific field
b) A query that finds similar terms based on a defined similarity algorithm
c) A query that searches for matches of a term in any field
d) A query that searches for synonyms of a term
Answer: a
11. What is a match query in Elasticsearch?
a) A query that searches for similar terms based on a defined similarity algorithm
b) A query that searches for matches of a term in any field
c) A query that searches for exact matches of a term in a specific field
d) A query that searches for synonyms of a term
Answer: b
12. What is a wildcard query in Elasticsearch?
a) A query that searches for matches of a term in any field
b) A query that searches for exact matches of a term in a specific field
c) A query that searches for similar terms based on a defined similarity algorithm
d) A query that searches for matches using a pattern that includes wildcards
Answer: d
13. What is a range query in Elasticsearch?
a) A query that searches for matches of a term within a specific range of values
b) A query that searches for matches of a term in any field
c) A query that searches for exact matches of a term in a specific field
d) A query that searches for similar terms based on a defined similarity algorithm
Answer: a
14. What is a full-text query in Elasticsearch?
a) A query that searches for matches of a term in any field
b) A query that searches for exact matches of a term in a specific field
c) A query that searches for similar terms based on a defined similarity algorithm
d) A query that searches for matches using a full-text search engine
Answer: d
15. What is a match_phrase query in Elasticsearch?
a) A query that searches for matches of a term within a specific range of values
b) A query that searches for exact matches of a term in a specific field
c) A query that searches for similar terms based on a defined similarity algorithm
d) A query that searches for matches of a phrase in a specific field
Answer: d
16. What is the purpose of the text mapping fields in Elasticsearch?
a) To store full-text data
b) To store numerical data
c) To store binary data
d) To store boolean data
Answer: a
17. What is a term vector in Elasticsearch?
a) A data structure that stores information about how often terms occur in a document
b) A type of query that retrieves documents based on specific criteria
c) An aggregation that groups and summarizes data
d) A filter that restricts data based on specific criteria
Answer: a
18. What is a parent-child relationship in Elasticsearch?
a) A way to organize documents within an index
b) A way to link documents in different indices
c) A type of query that retrieves documents based on specific criteria
d) A way to split an index into smaller pieces
Answer: b
19. What is a scroll API in Elasticsearch?
a) A way to retrieve large sets of data without overloading the cluster
b) A way to modify the index settings
c) A way to create or delete an index
d) A way to visualize data in an index
Answer: a
20. What is a bulk API in Elasticsearch?
a) A way to modify the index settings
b) A way to create or delete an index
c) A way to retrieve large sets of data without overloading the cluster
d) A way to search for data using complex queries
Answer: c
21. What is a term aggregation in Elasticsearch?
a) An aggregation that groups values into buckets based on their term frequency
b) An aggregation that groups values into buckets based on their date range
c) An aggregation that groups values into buckets based on their geographic location
d) An aggregation that groups values into buckets based on a defined similarity algorithm
Answer: a
22. What is a date histogram aggregation in Elasticsearch?
a) An aggregation that groups values into buckets based on their term frequency
b) An aggregation that groups values into buckets based on their date range
c) An aggregation that groups values into buckets based on their geographic location
d) An aggregation that groups values into buckets based on a defined similarity algorithm
Answer: b
23. What is a geo-distance aggregation in Elasticsearch?
a) An aggregation that groups values into buckets based on their term frequency
b) An aggregation that groups values into buckets based on their date range
c) An aggregation that groups values into buckets based on their geographic location
d) An aggregation that groups values into buckets based on a defined similarity algorithm
Answer: c
24. What is a significant terms aggregation in Elasticsearch?
a) An aggregation that groups values into buckets based on their term frequency
b) An aggregation that groups values into buckets based on their date range
c) An aggregation that groups values into buckets based on their geographic location
d) An aggregation that groups values into buckets based on their statistical significance
Answer: d
25. What is a query string query in Elasticsearch?
a) A query that searches for an exact match of a specified term
b) A query that searches for matches based on text analysis of a specified phrase
c) A query that searches for matches based on a Boolean expression of multiple terms
d) A query that searches for matches based on a similarity algorithm of a specified term
Answer: c
26. What is the difference between a filter and a query in Elasticsearch?
a) A filter searches for relevant documents, while a query retrieves all documents.
b) A filter is faster and more efficient than a query.
c) A query searches for relevant documents, while a filter retrieves all documents.
d) A filter and a query are the same thing.
Answer: c
27. What is a script query in Elasticsearch?
a) A query that uses a predefined script to evaluate document relevance
b) A query that searches for an exact match of a specified term
c) A query that searches for matches based on text analysis of a specified phrase
d) A query that searches for matches based on a Boolean expression of multiple terms
Answer: a
28. What is a prefix query in Elasticsearch?
a) A query that searches for matches using a pattern that includes wildcards
b) A query that searches for matches of a term in any field
c) A query that searches for exact matches of a term in a specific field
d) A query that searches for matches of a term with a specified prefix
Answer: d
29. What is a boosting query in Elasticsearch?
a) A query that increases the relevance of certain documents based on specific criteria
b) A query that searches for an exact match of a specified term
c) A query that searches for matches based on text analysis of a specified phrase
d) A query that searches for matches based on a Boolean expression of multiple terms
Answer: a
30. What is a constant score query in Elasticsearch?
a) A query that returns all documents with a constant score of 1.0
b) A query that increases the relevance of certain documents based on specific criteria
c) A query that searches for matches based on text analysis of a specified phrase
d) A query that searches for matches based on a Boolean expression of multiple terms
Answer: a
31. What is a minimum_should_match parameter in Elasticsearch?
a) The minimum number of terms that should match in a query
b) The minimum score that a document should have to be considered a match
c) The minimum number of documents that should be retrieved in a search
d) The minimum number of shards that a search should be executed on
Answer: a
32. What is a dis_max query in Elasticsearch?
a) A query that returns documents that match any of the specified queries
b) A query that returns documents that match all of the specified queries
c) A query that returns the documents with the highest scores
d) A query that returns the documents with the lowest scores
Answer: a
33. What is a multi_match query in Elasticsearch?
a) A query that searches for matches of a term in any field
b) A query that searches for exact matches of a term in a specific field
c) A query that searches for matches based on text analysis of a specified phrase
d) A query that searches for matches of a term in multiple fields
Answer: d
34. What is a function score query in Elasticsearch?
a) A query that increases the relevance of certain documents based on specific criteria
b) A query that searches for matches based on text analysis of a specified phrase
c) A query that searches for matches based on a Boolean expression of multiple terms
d) A query that returns the documents with the highest scores
Answer: a
35. What is a scoring algorithm in Elasticsearch?
a) A way to rank documents based on their relevance to a query
b) A way to group documents into logical clusters
c) A way to split an index into smaller pieces
d) A way to organize documents within an index
Answer: a
36. What is a synonym filter in Elasticsearch?
a) A filter that changes the terms in a query to their synonyms before executing the query
b) A filter that restricts data based on specific criteria
c) A filter that groups and summarizes data
d) A filter that orders data based on specific criteria
Answer: a
37. What is a stop word filter in Elasticsearch?
a) A filter that removes common words from a query before executing the query
b) A filter that restricts data based on specific criteria
c) A filter that groups and summarizes data
d) A filter that orders data based on specific criteria
Answer: a
38. What is a stemmer filter in Elasticsearch?
a) A filter that reduces words to their root form before executing the query
b) A filter that restricts data based on specific criteria
c) A filter that groups and summarizes data
d) A filter that orders data based on specific criteria
Answer: a
39. What is an analyzer in Elasticsearch?
a) A set of rules for text analysis
b) A type of query that retrieves documents based on specific criteria
c) A way to organize documents within an index
d) A way to split an index into smaller pieces
Answer: a
40. What is a token in Elasticsearch?
a) A unit of text after it has been analyzed
b) A type of query that retrieves documents based on specific criteria
c) A way to organize documents within an index
d) A way to split an index into smaller pieces
Answer: a
41. What is a synonym token filter in Elasticsearch?
a) A token filter that changes a token to its synonyms
b) A token filter that removes common words
c) A token filter that reduces words to their root form
d) A token filter that splits words based on patterns
Answer: a
42. What is a stop word token filter in Elasticsearch?
a) A token filter that removes common words
b) A token filter that changes a token to its synonyms
c) A token filter that reduces words to their root form
d) A token filter that splits words based on patterns
Answer: a
43. What is a stemmer token filter in Elasticsearch?
a) A token filter that reduces words to their root form
b) A token filter that removes common words
c) A token filter that changes a token to its synonyms
d) A token filter that splits words based on patterns
Answer: a
44. What is a lowercase token filter in Elasticsearch?
a) A token filter that converts all tokens to lowercase
b) A token filter that removes common words
c) A token filter that reduces words to their root form
d) A token filter that changes a token to its synonyms
Answer: a
45. What is a char filter in Elasticsearch?
a) A filter that processes text before it is analyzed
b) A way to organize documents within an index
c) A way to split an index into smaller pieces
d) A filter that restricts data based on specific criteria
Answer: a
46. What is a mapping in Elasticsearch?
a) A way to define how data is stored and indexed in Elasticsearch
b) A type of query that retrieves documents based on specific criteria
c) A way to organize documents within an index
d) A way to split an index into smaller pieces
Answer: a
47. What is a field in Elasticsearch?
a) A unit of data in a document that can be queried and analyzed
b) A way to organize documents within an index
c) A way to split an index into smaller pieces
d) A type of query that retrieves documents based on specific criteria
Answer: a
48. What is a nested field in Elasticsearch?
a) A field that contains one or more sub-fields
b) A field that is analyzed and searchable
c) A field that is not analyzed and not searchable
d) A field that contains an array of values
Answer: a
49. What is a geo-point field in Elasticsearch?
a) A field that contains latitude and longitude values
b) A way to organize documents within an index
c) A way to split an index into smaller pieces
d) A type of query that retrieves documents based on specific criteria
Answer: a
50. What is a geo-shape field in Elasticsearch?
a) A field that contains complex geometric shapes
b) A field that is analyzed and searchable
c) A field that is not analyzed and not searchable
d) A field that contains an array of values
Answer: a
- Top 10 DevOps Trainers in the world - October 7, 2023
- What is Cookies and Why it is Used? - May 24, 2023
- TOP trends of transitions in TikTok - May 10, 2023