Courseiva
Kubernetes FundamentalsmediumMultiple ChoiceObjective-mapped

KCNA Kubernetes Fundamentals Practice Question

A team wants to minimize downtime during a Deployment rollout. Which strategy ensures that new pods are created before old pods are terminated?

⚠ Common exam trap

Many candidates confuse `maxSurge` and `maxUnavailable` values, mistakenly thinking that allowing both a surge and an unavailable pod (option D) is safer, when in fact it can still cause a temporary capacity drop if the new pod is not ready before the old one is terminated.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Set strategy type to 'RollingUpdate' with maxSurge=1, maxUnavailable=0.

Setting `maxSurge=1` and `maxUnavailable=0` in a RollingUpdate strategy ensures that one additional pod is created above the desired replica count before any existing pod is terminated. This guarantees zero downtime by maintaining full capacity during the rollout, as new pods become ready before old ones are removed.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Set strategy type to 'Recreate'.

    Why it's wrong here

    Recreate terminates all old pods first, causing downtime.

  • Set strategy type to 'RollingUpdate' with maxSurge=0, maxUnavailable=1.

    Why it's wrong here

    This allows one pod to be unavailable during update.

  • Set strategy type to 'RollingUpdate' with maxSurge=1, maxUnavailable=0.

    Why this is correct

    New pods are created first, ensuring zero downtime.

  • Set strategy type to 'RollingUpdate' with maxSurge=1, maxUnavailable=1.

    Why it's wrong here

    This allows one pod to be unavailable.

About these practice questions

Courseiva writes every KCNA question from scratch — 833 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.