CNCFCloud Native Application Delivery

Helm & Release — KCNA Practice Question

A representative Kubernetes and Cloud Native Associate (KCNA) exam question on Helm & Release. 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 D. A release named web, which is an object that records this installation of the shop chart in the cluster.

D is correct: installing a chart creates a new release object, and Helm tracks it by name. A is wrong because a repository is a place that stores packaged charts, and install does not create one. B is wrong because install does not rewrite the chart's files; Chart.yaml stays as it is. C is wrong because the object Helm tracks by name is the release, not a namespace.

The Question

A team uses Helm to manage packages on its cluster. An engineer runs helm install web ./shop for the first time. What does Helm create and track by the name web?

AA chart repository named web, which stores the shop chart so that other users can install it later
BA new Chart.yaml named web, which replaces the metadata file inside the local shop chart directory
CA Kubernetes namespace named web, which Helm uses to group every resource that the shop chart renders
DA release named web, which is an object that records this installation of the shop chart in the clusterCorrect

Why D is correct

D is correct: installing a chart creates a new release object, and Helm tracks it by name. A is wrong because a repository is a place that stores packaged charts, and install does not create one. B is wrong because install does not rewrite the chart's files; Chart.yaml stays as it is. C is wrong because the object Helm tracks by name is the release, not a namespace.

Why the other options are wrong

Option A: A chart repository named web, which stores the shop chart so that other users can install it later

Option A does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.

Option B: A new Chart.yaml named web, which replaces the metadata file inside the local shop chart directory

Option B does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.

Option C: A Kubernetes namespace named web, which Helm uses to group every resource that the shop chart renders

Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.

Key idea: Helm & Release

D is correct: installing a chart creates a new release object, and Helm tracks it by name. A is wrong because a repository is a place that stores packaged charts, and install does not create one. B is wrong because install does not rewrite the chart's files; Chart.yaml stays as it is. C is wrong because the object Helm tracks by name is the release, not a namespace. 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.