Kubernetes and Cloud Native Associate (KCNA) — Question 102
Which of the following is a correct definition of a Helm chart?
Answer options
- A. A Helm chart is a collection of YAML files bundled in a tar.gz file and can be applied without decompressing it.
- B. A Helm chart is a collection of JSON files and contains all the resource definitions to run an application on Kubernetes.
- C. A Helm chart is a collection of YAML files that can be applied on Kubernetes by using the kubectl tool.
- D. A Helm chart is similar to a package and contains all the resource definitions to run an application on Kubernetes.
Correct answer: D
Explanation
The correct answer is D because a Helm chart functions like a package, encapsulating all necessary resource definitions to deploy an application on Kubernetes. Options A and C incorrectly describe the format or application method, while B incorrectly states that Helm charts use JSON instead of YAML.