Bird
Raised Fist0

During a rolling upgrade, you want to ensure minimal downtime and data safety. Which sequence of actions is best practice?

hard🚀 Application Q15 of Q15
Elasticsearch - Cluster Management
During a rolling upgrade, you want to ensure minimal downtime and data safety. Which sequence of actions is best practice?
AUpgrade all nodes simultaneously -> Disable shard allocation -> Enable shard allocation -> Restart cluster
BRestart cluster -> Disable shard allocation -> Upgrade nodes one by one -> Enable shard allocation
CEnable shard allocation -> Upgrade nodes one by one -> Disable shard allocation -> Verify cluster health
DDisable shard allocation -> Upgrade nodes one by one -> Enable shard allocation -> Verify cluster health
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct upgrade steps

    Best practice is to disable shard allocation first to prevent shard moves, then upgrade nodes one by one.
  2. Step 2: Finalize upgrade process

    After upgrading all nodes, enable shard allocation to rebalance shards and verify cluster health to confirm stability.
  3. Final Answer:

    Disable shard allocation -> Upgrade nodes one by one -> Enable shard allocation -> Verify cluster health -> Option D
  4. Quick Check:

    Disable allocation, upgrade nodes, enable allocation, check health [OK]
Quick Trick: Disable allocation first, upgrade nodes, then enable allocation [OK]
Common Mistakes:
MISTAKES
  • Upgrading all nodes at once causing downtime
  • Enabling allocation before upgrade completion
  • Restarting cluster unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes