0 votes
in ElasticSearch by
edited by

Top 30 ElasticSearch Search Raptors Questions and Answer on :

  • elasticsearch tutorial
  • elasticsearch aws
  • elasticsearch download
  • elasticsearch documentation
  • elasticsearch version
  • elasticsearch github
  • elasticsearch query
  • elasticsearch open source

1 Answer

0 votes
by
edited by
Question:-1 For identification, a node is assigned with an ________.

a) MMID

b) Uniform Resource Locator

c) Uniform Resource Indicator

d) Universally Unique Identifier

Answer: - MMID

Question:-2 Elasticsearch is a/an ________.

a) Search Engine

b) Analytics Engine

c) Both the options

d) None of the options

Answer: - Both the options

Question:-3 What is an Index?

a) Collection of types

b) Collection of documents having similar characteristics

c) Collection of documents having non-similar characteristics

d) Collection of nodes

Answer: - Collection of documents having similar characteristics

Question:-4 Elasticsearch is based on _______ architecture and provides __________ endpoint.

a) REST, API

b) API, REST

c) API, Modern

d) Modern, API

Answer: - REST, API

Question:-5 What is the upper limit of an index that can be defined in a cluster?

a) There is no upper limit

b) 1000

c) 99

d) 10000

Answer: - There is no upper limit

Question:-6 Near-Real-Time means __________.

a) Exactly at the same time

b) Few minutes of wait time

c) Slight time lag

Answer: - Slight time lag

Question:-7 A node is ___________.

a) Machines having Elastic family

b) A single server running the instance of Elasticsearch

c) A group of clusters running the instance of Elasticsearch

d) Servers combined together with instances of Elasticsearch

Answer: - A single server running the instance of Elasticsearch

Question:-8 A cluster is ____________.

a) Servers connected with each other

b) A collection of nodes

c) Both the options

d) None of the options

Answer: - Both the options

Question:-9 Replicas is a ___________

a) Copy of the cluster

b) Carbon copy of the data living in a shard

c) Carbon copy of the Index

d) Replacement of the Index

Answer: - Carbon copy of the data living in a shard

Question:-10 A Shard is the subdivision of the ____________

a) Document

b) Index

c) Nodes

Answer: - Index

Question:-11 Can we use uppercase to describe an index name?

a) Yes, we can

b) No, we cannot

Answer: - No, we cannot

Question:-12 Elasticsearch ___________.

a) Exposes complexity

b) Hides complexity

Answer: - Hides complexity

Question:-13 Elasticsearch may have thousands of nodes.

a) True

b) False

Answer: - True

Question:-14 Elasticsearch is _____________.

a) Partially scalable

b) Highly scalable

Answer: - Highly scalable

Question:-15 Elasticsearch is built on the top of __________.

a) Lucene

b) Elastic

c) Python

d) Java

Answer: - Lucene

Question:-16 Elasticsearch uses _________ as the response.

a) JSON objects

b) XML objects

c) Java objects

d) Avro objects

Answer: - JSON objects

Question:-17 Who is the key person for the development of Elasticsearch?

a) Ryan Dahl

b) James Gosling

c) Shay Banon

d) Guido van Rossum

Answer: - Shay Banon

Question:-18 A document is a/an ________.

a) JSON object

b) JavaScript

c) XML object

Answer: - JSON object

Question:-19 Is a single node cluster possible? If yes, what would be its default name?

a) Yes, Elasticsearch

b) No, not possible

c) Yes, External

d) None of the options

Answer: - Yes, Elasticsearch

Question:-20 _________ is the default name given to a cluster.

a) Elastic

b) External

c) Elasticsearch1

d) Elasticsearch

Answer: - Elasticsearch

Question:-21 You can delete an Index using ________.

a) SUDO -XDEL ‘localhost:9200/aliens?pretty&pretty’

b) curl -XDELETE ‘localhost:9200/aliens?pretty&pretty’

c) curl -XDEL ‘localhost:9200/aliens?pretty&pretty’

Answer: - curl -XDELETE ‘localhost:9200/aliens?pretty&pretty’

Question:-22 Elasticsearch is schemaless.

a) True

b) False

Answer: - True

Question:-23 What is an API?

a) Application Program Interference

b) A set of defined methods of communication between several software programs

c) Both the options

d) None of the options

Answer:- A set of defined methods of communication between several software programs

Question:-24 What does the yellow state of a cluster mean?

a) It means all the shards are assigned in the cluster

b) It means any of the replica shard is not assigned

c) It means any of the primary shard is not assigned

d) All the options

Answer:- It means any of the replica shard is not assigned

Question:-25 Which analyzer returns the entire input string as a single token?

a) Whitespace Analyzer

b) Simple Analyzer

c) Stop Analyzer

d) Keyword Analyzer

Answer:- Keyword Analyzer

Question:-26 You can delete a document using _________.

a) curl -XDELETE ‘localhost:9200/aliens/external/1’

b) curl -XDELETE ‘localhost:9200/aliens/1’

Answer:- curl -XDELETE ‘localhost:9200/aliens/external/1’

Question:-27 There is a dedicated array type in Elasticsearch.

a) True

b) False

Answer:- False

Question:-28 You can remove a plugin using _______.

a) sudo bin/elasticsearch-plugin remove

b) sudo bin/elasticsearch-plugin remove [pluginname]

Answer:- sudo bin/elasticsearch-plugin remove [pluginname]

Question:-29 You can create an Index using ________.

a) curl -XPUT ‘localhost:9200/exampleIndex’

b) curl -XPUT ‘localhost:9200/exampleindex’

c) Both the options

d) None of the options

Answer:- curl -XPUT ‘localhost:9200/exampleindex’

Question:-30 You can check the cluster’s health using _________.

a) curl -XGET ‘localhost:9200/_cat/health’

b) curl -XGET ‘localhost:9200/_cat/health?v&pretty’

c) Both the options

d) None of the options

Answer:- curl -XGET ‘localhost:9200/_cat/health?v&pretty’

Question:-31 What of the following is/are the feature(s) of a Fingerprint analyzer?

a) The input text is normalized

b) The input text is sorted

c) The input text is made lowercase

d) All the options

Answer:- All the options

Question:-32 How many primary shards are created by default?

a) 2

b) 3

c) 4

d) 5

Answer:- 5

Question:-33 What do we use for ‘ in the text I’ve?

a) \u0027

b) \u0026

c) \u0012

d) \u0018

Answer:- \u0027

Question:-34 The following languages are supported by the language analyzer, except ________.

a) Japanese

b) Hindi

c) Arabic

d) English

Answer:- Japanese

Question:-35 Which is a plugin type in Elasticsearch?

a) Core plugins

b) Community contributed plugins

c) Both the options

d) None of the options

Answer:- Both the options

Question:-36 What are Term-based Search Queries?

a) Queries that search for the exact term that is present within the inverted text.

b) Queries that search for the nearby terms that are present within the inverted text.

Answer:- Queries that search for the exact term that is present within the inverted text.

Question:-37 Elasticsearch can automatically create the mapping if the case mapping is not defined.

a) True

b) False

Answer:- True

Question:-38 Documents can have inner objects.

a) True

b) False

Answer:- True

Question:-39 For what purpose is Query DSL used in Elasticsearch?

a) For Request Body Type search

b) Only for simple search

Answer:- For Request Body Type search

Question:-40 You can perform a URI search using ______.

a) curl -XGET “localhost:9200/_search=lastname:perkins&pretty”

b) curl -XGET “localhost:9200/_search?q=lastname:perkins&pretty”

Answer:- curl -XGET “localhost:9200/_search?q=lastname:perkins&pretty”

Question:-41 In range query, what does gte and lt mean?

a) Greater than or less than

b) Greater than or equal to

c) Greater than or equal to/Less than

d) Greater than/Less than

Answer:- Greater than or equal to/Less than

Question:-42 Bulk Retrieve is implemented using ________.

a) multi-get API

b) mget API

c) Both the options

d) None of the options

Answer:- Both the options

Question:-43 Prequerying each shard to fetch the term and document frequencies is done in ____________.

a) DFS Query, then in Fetch

b) Fetch

c) Query

Answer:- DFS Query, then in Fetch

Question:-44 How can you perform a match_all?

a) {

  “query”: {

    “match_all”: {}

  }

}

b) {

  “query”: {

    “match_all”

  }

}

Answer:- {

  “query”: {

    “match_all”: {}

  }

}

Elasticsearch Albertosaurus questions

Question#1 What is the disk usage limit above which the shards are not assigned to the nodes by default?

a) Greater than 85%

b) Greater than 75%

c) Greater than 95%

d) Greater than 65%

Answer:- Greater than 85%

Question#2 Most of the domains have started using Elasticsearch as _________

a) It supports structured and unstructured search

b) It is scalable

c) It is open source

d) All the options

Answer:- All the options

Question#3 What is the need for tuning the performance of Elasticsearch?

a) It speeds up indexing

b) It speeds up searching

c) Both the options

Answer:- Both the options

Question#4 The following are reasons for node failure, except ___________

a) Hardware failure

b) Hypervisor failure

c) Sudden increase in the search rate

d) None of the options

Answer:- None of the options

Question#5 Which of the following is an indication that the cluster is ideal?

a) Cluster Status is not green

b) Cluster Status is green

c) Cluster Status is yellow

Answer:- Cluster Status is green

Question#6 When all the data nodes are running low on disk space, then the solution is __________.

a) To add more data nodes to the cluster

b) To set a threshold alert

c) None of the options

Answer:- To add more data nodes to the cluster

Question#7 The cluster status is red if __________.

a) A secondary shard is missing

b) A primary shard is missing

c) A primary shard is available

Answer:- A primary shard is missing

Question#8 What is force merging related to?

a) Reducing the number of segments per shard to enhance search performance

b) Increasing the number of segments per shard to enhance search performance

Answer:- Reducing the number of segments per shard to enhance search performance

Question#9 More than one node starts behaving as master node during the __________.

a) Combined Brain syndrome

b) Connected Brain syndrome

c) Split Brain syndrome

d) None of the options

Answer:- Split Brain syndrome

Question#10 Force merging is advisable at ___________.

a) Non-peak time

b) Peak time

Answer:- Non-peak time

Question#11 bootstrap.memory_lock: true _____________.

a) Allows the swapping process

b) Disallows the swapping process

Answer:- Disallows the swapping process

Question#12 The following are types of nodes in Elasticsearch, except ________

a) Data node

b) Ingest node

c) Customized node

d) Master-eligible node

Answer:- Customized node

Question#13 The cluster status is yellow if ___________.

a) A replica shard is missing

b) Both primary and replica shards are missing

c) A primary shard is missing

Answer:- A replica shard is missing

Question#14 CRUD operations are accomplished by ____________.

a) Data node

b) Ingest node

c) Coordinating node

d) Tribe node

Answer:- Data node

Question#15 To avoid TOO_MANY_REQUESTS (429) response, ___________.

a) Avoid using threads while indexing

b) Use multiple threads while indexing

c) Use single thread while indexing

Answer:- Use multiple threads while indexing

Question#16 Searching and Indexing performance in Elasticsearch depends upon _________.

a) Hardware

b) The type of query

c) The style of indexing

d) All the options

Answer:- All the options

Question#17 Copying a page of memory to a pre-configured space in the hard disk for freeing up the page of memory is called _____________.

a) Debugging

b) Swapping

c) Swap space

Answer:- Swapping

Question#18 What is the impact of split brain syndrome?

a) Indexing requests to any of the nodes will result in adding data to both the shards.

b) Indexing requests to any of the nodes will result in adding no data to any of the shards.

Answer:- Indexing requests to any of the nodes will result in adding data to both the shards.

Question#19 Search operations on connected clusters is accomplished with the help of _______________.

a) Tribe node

b) Ingest node

Answer:- Tribe node

Question#20 What hinders the performance and causes garbage collection to run for minutes?

a) Debugging

b) Swapping

c) Swap space

Answer:- Swapping

Question#1 Why Elasticsearch is called scalable?

a) Because it can handle high loads on the system easily

b) Only because creating more shards and indices is easy

c) None of the options

Answer:- Because it can handle high loads on the system easily

Question#2 Settings of which Elasticsearch file can be tweaked to avoid split-brain as well as tune the performance?

a) elasticsearch.xml

b) elasticsearch.html

c) elasticsearch.yml

d) elasticsearch.json

Answer:- elasticsearch.yml

Question#3 node.master is set to true for _____________.

a) Master-eligible node

b) Ingest node

c) Data node

d) None of the options

Answer:- Master-eligible node

Question#4 Creating too many shards and indices __________.

a) Affects the searching and indexing performance

b) Does not put any effect on performance

Answer:- Affects the searching and indexing performance

Question#5 SSD drives are preferred over spinning drives in terms of performance tuning.

a) True

b) False

Answer:- True

Question#6 You can change the IP address to which the elasticsearch is bound in Elasticsearch.yml file.

a) True

b) False

Answer:- True

Question#7 While returning large result sets, ensure the use of __________.

a) Scroll API

b) Search API

Answer:- Scroll API

Question#8 When all the data nodes are running low on disk space then the solution is __________.

a) A threshold alert can be set

b) Adding more data nodes to the cluster

c) None of the options

Answer:- Adding more data nodes to the cluster

Question#9 Which of the following is an ideal RAM size for Elasticsearch on production scale?

a) 2 GB

b) 6 GB

c) 16 GB

d) 1 GB

Answer:- 16 GB

Question#10 In Elasticsearch.yml file, under what name is node name represented?

a) nodes.name

b) node.name

c) name.node

d) node.names

Answer:- node.name

Question#11 Elasticsearch indexes and store data based on the __________.

a) Cloud data structure

b) Amazon data structure

c) Lucene data-structure

Answer:- Lucene data-structure

Question#12 There should be same version of JVM across the machines with Elasticsearch.

a) True

b) False

Answer:- True

Question#13 All failed Elasticsearch nodes are automatically detected and replaced by the Amazon ES.

a) Correct

b) Incorrect

Answer:- Correct

Question#14 Putting the cluster on public IP is recommended in Elasticsearch. Choose the relevant option.

a) Yes, because it helps in securing the clusters.

b) No, always avoid putting clusters on Public IP.

Answer:- Yes, because it helps in securing the clusters.

Question#15 discovery.zen.minimum_master_nodes represents ___________.

a) the numbers nodes in communication which would elect the data node.

b) The number of nodes in communication which would elect the master node

Answer:- The number of nodes in communication which would elect the master node

Question#16 The heap size of JVM is 4 GB at the time of starting the Elasticsearch.

a) True

b) False

Answer:- False

Question#17 Use filters when possible and queries when you need the actual scoring from queries.

a) True

b) False

Answer:- True

Question#18 It is always a bad idea to use different Index for different structures.

a) Correct

b) Incorrect

Answer:- Correct

Question#19 Where is the cluster.name setting located?

a) Within the cluster settings

b) elasticsearch.yml file

c) elasticsearch.xml file

d) Within the node settings

Answer:- elasticsearch.yml file

Question#20 What kind of disks are recommended for frequent and large indexing?

a) CD/ DVDs

b) SSDs

c) Spinning disks with low RPM

d) None of the options

Answer:- SSDs

Question#21 Giving memory to filesystem cache ensures ___________.

a) Pause search function

b) Efficient search function

c) Slow search function

Answer:- Efficient search function
...