Bird
0
0

You want to update your app smoothly without downtime using a Deployment. Which feature of Deployment helps achieve this?

hard📝 Best Practice Q15 of 15
Kubernetes - ReplicaSets and Deployments
You want to update your app smoothly without downtime using a Deployment. Which feature of Deployment helps achieve this?
ARolling update strategy that replaces pods gradually
BManual pod deletion to force restart
CSetting replicas to zero before update
DUsing a StatefulSet instead of Deployment
Step-by-Step Solution
Solution:
  1. Step 1: Identify update strategies in Deployment

    Deployment supports rolling updates that replace pods one by one, keeping the app available.
  2. Step 2: Compare other options

    Manual deletion causes downtime. Setting replicas to zero stops all pods. StatefulSet is for stateful apps, not smooth rolling updates.
  3. Final Answer:

    Rolling update strategy that replaces pods gradually -> Option A
  4. Quick Check:

    Rolling update = smooth app update [OK]
Quick Trick: Rolling update replaces pods one by one [OK]
Common Mistakes:
  • Deleting pods manually causes downtime
  • Scaling replicas to zero stops app
  • Confusing StatefulSet with Deployment update

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes