Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to define a hot node attribute in Elasticsearch.
Elasticsearch
"node.attr.box_type": "[1]"
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'warm' or 'cold' instead of 'hot' for hot nodes.
✗ Incorrect
The hot node attribute is set as "hot" to identify nodes that handle indexing and searching.
2fill in blank
mediumComplete the code to set the index lifecycle phase to warm.
Elasticsearch
"index.lifecycle.phase": "[1]"
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing 'warm' with 'hot' or 'cold' phases.
✗ Incorrect
The lifecycle phase 'warm' is used for indices that are less frequently accessed but still searchable.
3fill in blank
hardFix the error in the node attribute setting for cold nodes.
Elasticsearch
"node.attr.box_type": "[1]"
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'archive' or 'warm' instead of 'cold' for cold nodes.
✗ Incorrect
Cold nodes should have the attribute set to 'cold' to properly identify their role in the cluster.
4fill in blank
hardFill both blanks to set the index lifecycle policy for hot and warm phases.
Elasticsearch
"index.lifecycle.phase": "[1]", "node.attr.box_type": "[2]"
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing 'warm' or 'cold' values in hot phase settings.
✗ Incorrect
For the hot phase, both the lifecycle phase and node attribute should be set to 'hot'.
5fill in blank
hardFill all three blanks to define a cold node with the correct lifecycle phase and node attribute.
Elasticsearch
"index.lifecycle.phase": "[1]", "node.attr.box_type": "[2]", "index.routing.allocation.require.box_type": "[3]"
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using different values for lifecycle phase and node attributes causing misallocation.
✗ Incorrect
Cold nodes and indices use 'cold' for lifecycle phase, node attribute, and routing allocation to ensure data is stored on cold nodes.