Courseiva
Application DeploymenthardMultiple SelectObjective-mapped

CKAD Application Deployment Practice Question

A Deployment named 'api' has 6 replicas. You want to perform a rolling update with the following constraints: at most 2 pods can be unavailable during the update, and at most 1 extra pod can be created above the desired 6. Which strategy configurations achieve this? (Choose TWO)

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

strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 2

Uses absolute numbers: maxSurge=1 and maxUnavailable=2, directly matching the constraints. Option B uses percentages: 16% of 6 = 0.96 rounded up to 1, and 33% of 6 = 1.98 rounded up to 2, so it also yields maxSurge=1 and maxUnavailable=2. Option C has maxSurge=2, exceeding the surge limit. Option D has maxUnavailable=3, exceeding the unavailable limit. Option E has maxUnavailable=1, which is more restrictive than the allowed maximum of 2; while it technically satisfies the constraint, it is not the intended configuration. Therefore, the correct answers are A and B.

Answer analysis

Option-by-option breakdown

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

  • strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 2

    Why this is correct

    Absolute numbers match constraints.

  • strategy: rollingUpdate: maxSurge: 16% maxUnavailable: 33%

    Why this is correct

    16% of 6 is ~1 (ceil=1), 33% of 6 is ~2 (ceil=2), so same constraints.

  • strategy: rollingUpdate: maxSurge: 2 maxUnavailable: 2

    Why it's wrong here

    maxSurge too high (allows 2 extra pods).

  • strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 3

    Why it's wrong here

    maxUnavailable too high.

  • strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 1

    Why it's wrong here

    maxUnavailable is too restrictive.

About these practice questions

This CKAD question is part of Courseiva's 160-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 CKAD 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 CKAD exam.