Bird
0
0

You want to update a running Docker service with zero downtime. Which orchestration feature helps achieve this?

hard📝 Best Practice Q15 of 15
Docker - Swarm
You want to update a running Docker service with zero downtime. Which orchestration feature helps achieve this?
AManually stopping all containers before update
BRolling updates that replace containers gradually
CRebuilding images without redeploying
DUsing a single container without replicas
Step-by-Step Solution
Solution:
  1. Step 1: Understand zero downtime update

    Zero downtime means the app stays available while updating containers.
  2. Step 2: Identify orchestration feature

    Rolling updates replace containers one by one, keeping service live during update.
  3. Step 3: Eliminate wrong options

    Stopping all containers causes downtime, rebuilding images alone doesn't update running service, and single container lacks redundancy.
  4. Final Answer:

    Rolling updates that replace containers gradually -> Option B
  5. Quick Check:

    Rolling updates = zero downtime updates [OK]
Quick Trick: Use rolling updates for zero downtime service changes [OK]
Common Mistakes:
  • Stopping all containers causes downtime
  • Thinking image rebuild updates running service
  • Using single container lacks high availability

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes