Elasticsearch MCQ Questions
11. Elasticsearch Developer?
A. Elastic NV
B. Elastic AB
C. Elastic FB
D. Elastic ZV
View Answer
Ans : A
Explanation: Developer: Elastic NV
12. The default Elasticsearch log level is?
A. Error
B. Trace
C. Warn
D. Info
View Answer
Ans : D
Explanation: For its application logs, Elasticsearch uses Apache Log4j 2 and its built-in log levels (from least to most severe) of TRACE, DEBUG, INFO, WARN, ERROR, and FATAL. The default Elasticsearch log level is INFO.
13. elasticsearch instance has a maximum disk size of?
A. 256 GiB
B. 512 GiB
C. 1024 GiB
D. 128 GiB
View Answer
Ans : B
Explanation: elasticsearch instance has a maximum disk size of 512 GiB. If you stay below 80% disk usage and size your shards at 20 GiB, it can accommodate approximately 20 shards
14. Which of the following is true about Elasticsearch?
A. Elasticsearch is a real-time distributed and open source full-text search and analytics engine.
B. Elasticsearch is scalable up to petabytes of structured and unstructured data
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Both A and B is true about elasticsearch.
15. Which of the following is a collection of fields in a specific manner defined in JSON format?
A. Node
B. Shard
C. Replicas
D. Document
View Answer
Ans : D
Explanation: Document : It is a collection of fields in a specific manner defined in JSON format. Every document belongs to a type and resides inside an index. Every document is associated with a unique identifier called the UID.
16. Which command to create an index?
A. PUT
B. USE
C. CREATE
D. SET
View Answer
Ans : A
Explanation: You can use the following command to create an index : PUT letsfindcourse
17. In URI Search, which parameter is used to specify query string?
A. lenient
B. Q
C. fields
D. sort
View Answer
Ans : B
Explanation: Q : This parameter is used to specify query string.
18. Elasticsearch can be used as a replacement of document stores like MongoDB and RavenDB.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: Elasticsearch can be used as a replacement of document stores like MongoDB and RavenDB.
19. Each shard in ElasticSearch has _____________ copy of the shard.
A. 4
B. 1
C. 2
D. 3
View Answer
Ans : C
Explanation: Each shard in ElasticSearch has 2 copy of the shard. These copies are called replicas. They serve the purpose of high-availability and fault-tolerance.
20. Which aggregation is used to get the average of any numeric field present in the aggregated documents?
A. Max
B. Min
C. Count
D. Avg
View Answer
Ans : D
Explanation: Avg Aggregation : This aggregation is used to get the average of any numeric field present in the aggregated documents
Discussion