Bird
0
0

Why might the Recreate update strategy be preferred over RollingUpdate in some Kubernetes environments?

hard📝 Conceptual Q10 of 15
Kubernetes - ReplicaSets and Deployments
Why might the Recreate update strategy be preferred over RollingUpdate in some Kubernetes environments?
AWhen the application cannot handle multiple versions running simultaneously.
BTo achieve zero downtime during updates.
CBecause it updates pods one at a time automatically.
DTo speed up updates by running old and new pods together.
Step-by-Step Solution
Solution:
  1. Step 1: Understand application compatibility

    Some apps fail if multiple versions run simultaneously due to shared resources or state.
  2. Step 2: Choose Recreate for exclusive pod running

    Recreate ensures only one version runs at a time, avoiding conflicts.
  3. Final Answer:

    When the application cannot handle multiple versions running simultaneously. -> Option A
  4. Quick Check:

    Recreate preferred if app can't run multiple versions [OK]
Quick Trick: Use Recreate if app can't run multiple versions simultaneously [OK]
Common Mistakes:
  • Thinking Recreate provides zero downtime
  • Confusing Recreate with RollingUpdate behavior
  • Assuming Recreate speeds up updates by parallel pods

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes