Courseiva
Cloud Native Application DeliveryhardMultiple ChoiceObjective-mapped

KCNA Cloud Native Application Delivery Practice Question

A team uses Helm to manage a complex application. They want to perform a release upgrade but keep a record of the previous release so they can roll back if needed. Which Helm command should they use?

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

helm upgrade --history-max 5

The 'helm upgrade' command with the '--history-max' flag sets the maximum number of release versions to retain. Without this flag, old versions are kept by default, allowing rollback. Alternatively, 'helm upgrade' alone maintains history; 'helm rollback' is used later. But the question asks which command to use for the upgrade while keeping history. 'helm upgrade' naturally keeps history unless '--history-max' is set to 0.

Answer analysis

Option-by-option breakdown

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

  • helm delete --purge

    Why it's wrong here

    This deletes the release and its history, preventing rollback.

  • helm upgrade --history-max 5

    Why this is correct

    This upgrades the release and keeps the last 5 revisions, allowing rollback. It retains history.

  • helm rollback

    Why it's wrong here

    helm rollback is used to revert to a previous revision, not to perform an upgrade.

  • helm install

    Why it's wrong here

    helm install is for initial deployment, not upgrades.

About these practice questions

This KCNA question is part of Courseiva's 833-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 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.