# A helmCharts entry sets replicaCount: 2 in valuesInline and lists a values file with replicaCount: 3 in additionalValuesFiles. What does Helm render?

Kustomize, Hard (Expert), Integration. https://k8wiz.com/uquiz/a-helmcharts-entry-sets-replicacount-2-in-valuesinline-and-lists-a-values-file-with-replicacount-3-in-additionalvaluesfiles-what

- A. 2, because valuesInline is merged in last
- B. 3, because the extra file is passed last
- C. 1, because conflicting values fall back to the chart default
- D. Nothing, the build fails with a values conflict

**Answer:** 3, because the extra file is passed last

**Explanation:** Kustomize merges valuesInline into the values file, writes the result to a temporary file and passes it to Helm with -f. Each additionalValuesFiles entry follows as another -f, and Helm lets later files win. valuesMerge only controls how inline values combine with valuesFile, not with the additional files.
