0
0
Elasticsearchquery~10 mins

Node roles (master, data, ingest) in Elasticsearch - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set a node as a master node in Elasticsearch.

Elasticsearch
node.roles: ["[1]"]
Drag options to blanks, or click blank then click option'
Adata
Bclient
Cingest
Dmaster
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'data' or 'ingest' instead of 'master' for master node role.
Leaving the roles list empty.
2fill in blank
medium

Complete the code to configure a node to handle data storage in Elasticsearch.

Elasticsearch
node.roles: ["[1]"]
Drag options to blanks, or click blank then click option'
Adata
Bingest
Ccoordinating
Dmaster
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing data nodes with master nodes.
Using 'ingest' role instead of 'data' for data nodes.
3fill in blank
hard

Fix the error in the code to enable ingest capabilities on a node.

Elasticsearch
node.roles: ["[1]"]
Drag options to blanks, or click blank then click option'
Aingest
Bdata
Cmaster
Dsearch
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'data' or 'master' roles instead of 'ingest' for ingest nodes.
Misspelling the role name.
4fill in blank
hard

Fill both blanks to configure a node as both master and data node.

Elasticsearch
node.roles: ["[1]", "[2]"]
Drag options to blanks, or click blank then click option'
Amaster
Bdata
Cingest
Dcoordinating
Attempts:
3 left
💡 Hint
Common Mistakes
Using roles like 'ingest' or 'coordinating' instead of 'master' or 'data'.
Putting roles in the wrong order (order does not matter but consistency helps).
5fill in blank
hard

Fill all three blanks to configure a node with master, data, and ingest roles.

Elasticsearch
node.roles: ["[1]", "[2]", "[3]"]
Drag options to blanks, or click blank then click option'
Amaster
Bdata
Cingest
Dcoordinating
Attempts:
3 left
💡 Hint
Common Mistakes
Including 'coordinating' which is not a valid role name in this context.
Missing one of the three roles.