Helm & Chart Structure — KCNA Practice Question
A representative Kubernetes and Cloud Native Associate (KCNA) exam question on Helm & Chart Structure. Work through it below, then read why each option is right or wrong.
This question is part of the free Kubernetes and Cloud Native Associate practice test.
Short answer
The correct answer is B. values.yaml, which holds default values that templates read through .Values and that user-supplied values override.
B is correct: values.yaml supplies the defaults, and values given by the user override them. A is wrong because Chart.yaml is the chart's metadata file, not the place for default values. C is wrong because charts/ holds dependent charts, not value files. D is wrong because templates/ holds templates that Helm combines with values to generate Kubernetes manifests.
The Question
Which part of a Helm chart supplies the default configuration values that the templates read, and that a user can override when installing?
Why B is correct
B is correct: values.yaml supplies the defaults, and values given by the user override them. A is wrong because Chart.yaml is the chart's metadata file, not the place for default values. C is wrong because charts/ holds dependent charts, not value files. D is wrong because templates/ holds templates that Helm combines with values to generate Kubernetes manifests.
Why the other options are wrong
Option A does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.
Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.
Option D does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.
Key idea: Helm & Chart Structure
B is correct: values.yaml supplies the defaults, and values given by the user override them. A is wrong because Chart.yaml is the chart's metadata file, not the place for default values. C is wrong because charts/ holds dependent charts, not value files. D is wrong because templates/ holds templates that Helm combines with values to generate Kubernetes manifests. On the KCNA exam, questions in the "Cloud Native Application Delivery" domain test whether you can map a scenario's constraints to the right choice. Read the requirement carefully, eliminate options that violate any single constraint, and pick the one that satisfies all of them with the least operational overhead.
Ready to see how you'd score?
Take the free practice quiz and find out which Kubernetes and Cloud Native Associate domains you need to focus on. No signup required.
Practice 5 similar questions
Same cert, same or adjacent domain. Use these after reviewing the explanation.
Related Kubernetes and Cloud Native Associate Practice Questions
Official sources used
Verify program and exam details at the source before scheduling.