Bird
Raised Fist0

Why is it important to have replicas in an Elasticsearch cluster?

easy🧠 Conceptual Q2 of Q15
Elasticsearch - Performance and Scaling

Why is it important to have replicas in an Elasticsearch cluster?

ATo reduce the number of primary shards
BTo improve search performance and provide data redundancy
CTo increase the index refresh rate
DTo limit the size of each shard
Step-by-Step Solution
Solution:
  1. Step 1: Identify benefits of replicas

    Replicas provide copies of data that help if a node fails and also improve search speed by load balancing.
  2. Step 2: Match benefits to options

    Only To improve search performance and provide data redundancy mentions both performance and redundancy, which are key reasons for replicas.
  3. Final Answer:

    To improve search performance and provide data redundancy -> Option B
  4. Quick Check:

    Replica purpose = Performance + Redundancy [OK]
Quick Trick: Replicas help keep data safe and speed up searches [OK]
Common Mistakes:
MISTAKES
  • Thinking replicas reduce primary shards
  • Confusing replicas with refresh settings
  • Assuming replicas limit shard size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes