Bird
Raised Fist0

Given a node configured with node.roles: ["master", "data"], what roles does this node perform?

medium📝 Predict Output Q4 of Q15
Elasticsearch - Cluster Management

Given a node configured with node.roles: ["master", "data"], what roles does this node perform?

AOnly master node
BOnly data node
CBoth master and data node roles
DNeither master nor data node
Step-by-Step Solution
Solution:
  1. Step 1: Analyze node.roles list

    The list includes both "master" and "data", so the node performs both roles.
  2. Step 2: Confirm role combination

    Elasticsearch allows nodes to have multiple roles simultaneously.
  3. Final Answer:

    Both master and data node roles -> Option C
  4. Quick Check:

    Multiple roles in list = combined roles [OK]
Quick Trick: List multiple roles to combine node functions [OK]
Common Mistakes:
MISTAKES
  • Assuming only one role per node
  • Ignoring multiple roles in configuration

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes