Bird
0
0

Which of the following is a valid reason to use the _reindex API?

easy🧠 Conceptual Q2 of 15
Elasticsearch - Index Management

Which of the following is a valid reason to use the _reindex API?

ATo upgrade Elasticsearch cluster version
BTo permanently delete all documents in an index
CTo create a snapshot backup of an index
DTo change the mapping of an existing index by copying data to a new index
Step-by-Step Solution
Solution:
  1. Step 1: Identify use cases of _reindex

    Reindexing is often used to change mappings or settings by copying data to a new index with updated configurations.
  2. Step 2: Exclude unrelated operations

    Deleting documents, upgrading cluster, or snapshot backups are handled by other APIs.
  3. Final Answer:

    To change the mapping of an existing index by copying data to a new index -> Option D
  4. Quick Check:

    Reindex use case = Change mapping [OK]
Quick Trick: Use reindex to apply new mappings by copying data [OK]
Common Mistakes:
MISTAKES
  • Thinking reindex deletes data
  • Confusing with cluster upgrade
  • Mixing with snapshot creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes