Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation KCNA Exam - Topic 3 Question 81 Discussion

Posted by Coletta on Jun 26, 2026 at 06:33 AM

When modifying an existing Helm release to apply new configuration values, which approach is the best practice?

Suggested Answer: A

Helm is a package manager for Kubernetes that provides a declarative and versioned approach to application deployment and lifecycle management. When updating configuration values for an existing Helm release, the recommended and best-practice approach is to use helm upgrade, optionally with the --set flag or a values file, to apply the new configuration while preserving the release's history.

Option A is correct because helm upgrade updates an existing release in a controlled and auditable manner. Helm stores each revision of a release, allowing teams to inspect past configurations and roll back to a previous known-good state if needed. Using --set enables quick overrides of individual values, while using -f values.yaml supports more complex or repeatable configurations. This approach aligns with GitOps and infrastructure-as-code principles, ensuring consistency and traceability.

Option B is incorrect because modifying Helm-managed resources directly with kubectl edit breaks Helm's state tracking. Helm maintains a record of the desired state for each release, and manual edits can cause configuration drift, making future upgrades unpredictable or unsafe. Kubernetes documentation and Helm guidance strongly discourage modifying Helm-managed resources outside of Helm itself.

Option C is incorrect because deleting and reinstalling a release discards the release history and may cause unnecessary downtime or data loss, especially for stateful applications. Helm's upgrade mechanism is specifically designed to avoid this disruption while still applying configuration changes safely.

Option D is also incorrect because editing chart source files directly and reapplying them bypasses Helm's release management model. While chart changes are appropriate during development, applying them directly to a running release without helm upgrade undermines versioning, rollback, and repeatability.

According to Helm documentation, helm upgrade is the standard and supported method for modifying deployed applications. It ensures controlled updates, preserves operational history, and enables safe rollbacks, making option A the correct and fully verified best practice.


Get Premium KCNA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
25 comments · newest first
AL
Almeta 5 days ago
B seems risky. Editing live configs can break things.
AD
Adela 10 days ago
Agreed! A keeps everything intact.
KE
Kenneth 15 days ago
I think A is the best choice. Preserves history.
MI
Mireya 20 days ago
A keeps everything organized. I vote for that!
GI
Gianna 26 days ago
I feel B is too manual. A is more efficient.
CA
Carmen 1 month ago
A is definitely the way to go. Easy to roll back if needed.
MA
Marica 1 month ago
D is not ideal. Direct edits can lead to inconsistencies.
TI
Tiffiny 1 month ago
C is a bad idea. Deleting means losing all history.
HY
Hyun 2 months ago
B could work, but it’s risky. Live edits can cause issues.
LE
Leota 2 months ago
Agreed! A is safer for tracking changes.
TR
Tracey 2 months ago
I think A is the best choice. It keeps the history intact.
NO
Novella 2 months ago
A keeps the history intact, which is super important!
JA
Jannette 2 months ago
Surprised to see D as an option, that's not a good practice!
BR
Brinda 2 months ago
C sounds risky, better to upgrade than delete.
GI
Gilma 3 months ago
I disagree, B can be useful in some cases.
ST
Stephanie 3 months ago
A is definitely the way to go!
FR
Francisca 3 months ago
A) keeps the history intact, can’t go wrong with that!
NI
Nida 3 months ago
Surprised to see D) as an option, that’s not a good practice!
RO
Rosalind 3 months ago
C) seems extreme, why not just upgrade?
GO
Goldie 3 months ago
I disagree, B) can work too, but it's risky.
LA
Lashawnda 4 months ago
A) is definitely the way to go!
BE
Beckie 4 months ago
Editing the chart files directly seems risky to me, so I would lean towards option A. I think I read that modifying source files can lead to inconsistencies.
LU
Lucia 4 months ago
I feel like deleting the release and reinstalling it, like in option C, could lead to downtime, which is something we want to avoid. But I can't recall if there are specific scenarios where that might be acceptable.
RE
Reed 4 months ago
I remember practicing a question where using kubectl edit was discouraged because it doesn't track changes in Helm. So, I feel like option B might not be the right choice here.
DI
Dick 4 months ago
I think option A is the best practice since it keeps the release history intact, but I'm not entirely sure if there are any drawbacks to using the --set flag.
0/2000 characters

Save Cancel