Bird
0
0

What does the number_of_replicas setting control in an Elasticsearch index?

easy🧠 Conceptual Q1 of 15
Elasticsearch - Index Management
What does the number_of_replicas setting control in an Elasticsearch index?
AThe number of copies of each shard for fault tolerance
BThe total number of shards in the index
CThe maximum size of each shard
DThe number of fields indexed in the documents
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of replicas in Elasticsearch

    Replicas are copies of primary shards that provide fault tolerance and improve search performance.
  2. Step 2: Identify what number_of_replicas controls

    This setting specifies how many replica shards each primary shard has.
  3. Final Answer:

    The number of copies of each shard for fault tolerance -> Option A
  4. Quick Check:

    Replicas = Copies for fault tolerance [OK]
Quick Trick: Replicas mean copies for safety and speed [OK]
Common Mistakes:
MISTAKES
  • Confusing replicas with total shards
  • Thinking replicas control shard size
  • Assuming replicas affect indexed fields

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes