Challenge - 5 Problems
ILM Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ query_result
intermediate2:00remaining
What is the output of this ILM policy status query?
Given an index named
logs-2023.06 managed by an ILM policy, what will be the phase shown in the output after the index has been rolled over and is currently in the warm phase?Elasticsearch
GET logs-2023.06/_ilm/explainAttempts:
2 left
💡 Hint
Think about what phase comes after rollover in a typical ILM policy.
✗ Incorrect
After rollover, the index moves from the hot phase to the warm phase. The ILM explain API shows the current phase and step for the index.
🧠 Conceptual
intermediate1:30remaining
Which ILM phase is best for reducing index shard size without deleting data?
In Index Lifecycle Management, which phase is typically used to reduce shard size by shrinking or force merging indices, while keeping the data available?
Attempts:
2 left
💡 Hint
This phase is after hot and before cold, focusing on optimizing storage.
✗ Incorrect
The warm phase is used to optimize indices by shrinking or force merging to reduce shard size while keeping data accessible.
📝 Syntax
advanced2:00remaining
Which ILM policy JSON snippet correctly defines a delete phase after 30 days?
Select the correct JSON snippet that defines a delete phase in an ILM policy to delete indices after 30 days.
Attempts:
2 left
💡 Hint
The min_age must be a string with time unit, and the action to delete is named 'delete'.
✗ Incorrect
The correct syntax uses a string with 'd' for days and the action key 'delete' to remove indices.
❓ optimization
advanced2:00remaining
How to optimize ILM policy to reduce disk usage quickly after rollover?
You want to reduce disk usage as soon as possible after rollover. Which ILM phase action should you add immediately after rollover to optimize storage?
Attempts:
2 left
💡 Hint
Force merge reduces segment count and disk usage without deleting data.
✗ Incorrect
Force merge in the warm phase reduces disk usage by merging index segments after rollover.
🔧 Debug
expert2:30remaining
Why does this ILM policy fail to delete indices after 30 days?
An ILM policy has this delete phase snippet:
{
"delete": {
"min_age": "30d",
"actions": {
"remove": {}
}
}
}
Why does the index not get deleted after 30 days?
Attempts:
2 left
💡 Hint
Check the action names supported by ILM for deleting indices.
✗ Incorrect
The correct action to delete indices is 'delete', not 'remove'. Using 'remove' causes the delete phase to be ignored.