Recall & Review
beginner
What is an Elasticsearch cluster?
An Elasticsearch cluster is a group of one or more nodes (servers) that together hold your entire data and provide indexing and search capabilities. It acts like a team working together to handle data.
Click to reveal answer
beginner
Define a node in Elasticsearch.
A node is a single server that is part of the Elasticsearch cluster. It stores data and participates in the cluster's indexing and search operations.
Click to reveal answer
beginner
What is a shard in Elasticsearch?
A shard is a smaller piece of an index. Elasticsearch splits large indexes into shards to distribute data across nodes, making search and storage faster and more efficient.
Click to reveal answer
intermediate
Why does Elasticsearch use shards?
Shards help spread data across multiple nodes, allowing Elasticsearch to handle large amounts of data and perform searches quickly by working in parallel.
Click to reveal answer
intermediate
Explain the difference between primary and replica shards.
Primary shards hold the original data, while replica shards are copies of primary shards. Replicas provide fault tolerance and improve search speed by sharing the load.
Click to reveal answer
What does an Elasticsearch cluster consist of?
✗ Incorrect
An Elasticsearch cluster is made up of multiple nodes that work together to store and search data.
What is the role of a node in Elasticsearch?
✗ Incorrect
A node stores data and helps with indexing and searching within the cluster.
Why are shards important in Elasticsearch?
✗ Incorrect
Shards split large indexes into smaller parts to distribute data and speed up search and storage.
What is a replica shard?
✗ Incorrect
Replica shards are copies of primary shards that help with fault tolerance and load balancing.
How does Elasticsearch improve search speed?
✗ Incorrect
Elasticsearch spreads shards across nodes so searches can happen at the same time on different parts of data.
Describe how clusters, nodes, and shards work together in Elasticsearch.
Think of a cluster as a team, nodes as team members, and shards as tasks shared among them.
You got /4 concepts.
Explain why Elasticsearch uses replica shards and how they help the system.
Consider how having backups and helpers can keep a system running smoothly.
You got /4 concepts.