Elasticsearch Albertosaurus Interview Question-Answer Part – 2

Q.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

Ans : Because it can handle high loads on the system easily


Q.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

Ans : elasticsearch.yml


Q.3 node.master is set to true for _____________.

       A. Master-eligible node

       B. Ingest node

       C. Data node

       D. None of the options

Ans : Master-eligible node


Q.4 Creating too many shards and indices __________.

       A. Affects the searching and indexing performance

       B. Does not put any effect on performance

Ans : Affects the searching and indexing performance


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

       A. True

       B. False

Ans : True


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

       A. True

       B. False

Ans : True


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

       A. Scroll API

       B. Search API

Ans : Scroll API


Q.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

Ans : Adding more data nodes to the cluster


Q.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

Ans : 16 GB


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

       A. nodes.name

       B. node.name

       C. name.node

       D. node.names

Ans : node.name


Q.11 Elasticsearch indexes and store data based on the __________.

       A. Cloud data structure

       B. Amazon data structure

       C. Lucene data-structure

Ans : Lucene data-structure


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

       A. True

       B. False

Ans : True


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

       A. Correct

       B. Incorrect

Ans : Correct


Q.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.

Ans : Yes, because it helps in securing the clusters.


Q.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

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


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

       A. True

       B. False

Ans : False


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

       A. True

       B. False

Ans : True


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

       A. Correct

       B. Incorrect

Ans : Correct


Q.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

Ans : elasticsearch.yml file


Q.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

Ans : SSDs


Q.21 Giving memory to filesystem cache ensures ___________.

       A. Pause search function

       B. Efficient search function

       C. Slow search function

Ans : Efficient search function


Leave a Comment