Bird
0
0

You have this ILM policy JSON:

medium📝 Debug Q14 of 15
Elasticsearch - Index Management
You have this ILM policy JSON:
{"phases": {"hot": {"actions": {"rollover": {"max_size": "20gb"}}}, "warm": {"min_age": "10d", "actions": {"shrink": {"number_of_shards": 1}}}}}

After applying, the shrink action never runs. What is the likely cause?
ARollover max_size is too small
BShrink action requires delete phase
CShrink action must be in hot phase
DThe index has not reached 10 days old yet
Step-by-Step Solution
Solution:
  1. Step 1: Check warm phase min_age

    Shrink runs only after index is at least 10 days old.
  2. Step 2: Confirm index age

    If index age is less than 10 days, shrink won't trigger yet.
  3. Final Answer:

    The index has not reached 10 days old yet -> Option D
  4. Quick Check:

    min_age controls action timing = C [OK]
Quick Trick: Check min_age before expecting warm phase actions [OK]
Common Mistakes:
MISTAKES
  • Assuming shrink needs delete phase
  • Changing rollover size unrelated to shrink
  • Placing shrink in wrong phase

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes