Elasticsearch - Index ManagementWhich of the following is the correct way to define a rollover action in an ILM policy JSON?A"rollover": { "max_size": "50gb", "max_age": "30d" }B"rollover": "true"C"rollover": { "size": "50gb" }D"rollover": { "max_documents": 1000 }Check Answer
Step-by-Step SolutionSolution:Step 1: Check rollover action syntaxRollover requires conditions like max_size and max_age in a JSON object.Step 2: Validate options"rollover": { "max_size": "50gb", "max_age": "30d" } correctly uses max_size and max_age keys with proper values.Final Answer:"rollover": { "max_size": "50gb", "max_age": "30d" } -> Option AQuick Check:Rollover needs max_size and max_age keys = A [OK]Quick Trick: Rollover needs max_size and max_age keys in JSON [OK]Common Mistakes:MISTAKESUsing string 'true' instead of object for rolloverMissing max_age or max_size keysUsing incorrect key names like 'size'
Master "Index Management" in Elasticsearch9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Elasticsearch Quizzes Basic Search Queries - Wildcard and prefix queries - Quiz 12easy Basic Search Queries - Why search is Elasticsearch's core purpose - Quiz 6medium Elasticsearch Basics and Architecture - Full-text search engine concept - Quiz 1easy Elasticsearch Basics and Architecture - Full-text search engine concept - Quiz 4medium Elasticsearch Basics and Architecture - Cluster, node, and shard architecture - Quiz 15hard Index Management - Index aliases - Quiz 3easy Mappings and Data Types - Why mappings define document structure - Quiz 13medium Search Results and Scoring - Relevance score (_score) - Quiz 2easy Search Results and Scoring - Why relevance scoring ranks results - Quiz 10hard Search Results and Scoring - Relevance score (_score) - Quiz 3easy