Bird
Raised Fist0

What will happen if a node is configured with node.roles: [] (an empty list)?

medium📝 Predict Output Q5 of Q15
Elasticsearch - Cluster Management

What will happen if a node is configured with node.roles: [] (an empty list)?

ANode will not join the cluster
BNode becomes a master node by default
CNode acts as a coordinating-only node
DNode becomes a data node by default
Step-by-Step Solution
Solution:
  1. Step 1: Understand empty roles list

    An empty roles list means the node has no master, data, or ingest roles.
  2. Step 2: Identify default behavior

    Such a node acts as a coordinating-only node, routing requests but not storing data or managing cluster state.
  3. Final Answer:

    Node acts as a coordinating-only node -> Option C
  4. Quick Check:

    Empty roles = coordinating-only node [OK]
Quick Trick: Empty roles list means coordinating-only node [OK]
Common Mistakes:
MISTAKES
  • Assuming empty list disables node
  • Thinking node defaults to master or data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes