INTERVIEW PREP
Interview questions
570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.
Showing 241–255 of 570 questions
241.How do you manage chart dependencies?MidHelm
List them under dependencies in Chart.yaml with a version range and repository, run helm dependency update, and set their values under the dependency name in your values file. Use condition to switch a dependency on or off.
242.What does helm upgrade --install --atomic do?MidHelm
--install installs if the release doesn't exist yet. --atomic waits for resources to be ready and rolls back automatically if the upgrade fails, which is safer in CI.
243.What are _helpers.tpl and named templates for?MidHelm
They hold reusable snippets, defined with define and used with include, such as standard labels or the full name. This keeps templates consistent and avoids copy-paste.
244.How do you handle secrets with Helm?SeniorHelm
Never plain values in Git. Options: SOPS-encrypted values with helm-secrets, Sealed Secrets, or best, External Secrets Operator pulling from a secret manager so the chart holds only references.
245.How does Argo CD deploying a chart differ from helm install?SeniorHelm
Argo CD renders with helm template and applies manifests itself: no Helm release exists, lookup returns nothing and hooks map to PreSync/PostSync. Rollback is a Git revert.
246.How do you test Helm charts?SeniorHelm
helm lint, a JSON schema for values, rendering with several values files in CI, kubeconform to validate the YAML, the helm-unittest plugin for template logic, and helm test or chart-testing (ct) to install into a temporary cluster.
247.How do you publish charts?SeniorHelm
Package with helm package and push to an OCI registry (helm push chart.tgz oci://registry.example.com/charts) or a classic chart repository. Sign charts if your supply-chain policy needs it.
248.Where does Helm store release information?SeniorHelm
In Helm 3, each release revision is a Secret in the release's namespace (type helm.sh/release.v1). That is why helm history works without a server component, and why deleting those Secrets breaks the release.
249.How do you structure values for many environments?SeniorHelm
Keep safe defaults in values.yaml, then small override files per environment (values-staging.yaml, values-prod.yaml). Pass secrets from a secret manager, not values files, and keep environment differences small and visible.
250.Helm or Kustomize: how do you choose?SeniorHelm
Helm is best for packaging and sharing apps with many options and for third-party software. Kustomize patches plain YAML without templates, which is simpler for your own apps with small per-environment changes. Many teams use both, sometimes together through Argo CD.
251.What is GitOps?BeginnerGitOps with Argo CD
A way to run systems where Git says what should run and a tool in the cluster keeps the cluster the same as Git. You change things by changing Git.
252.What is the difference between push and pull deploys?BeginnerGitOps with Argo CD
In push, a CI job changes the cluster and needs its credentials. In pull, a tool inside the cluster reads Git and applies it, so nothing outside needs cluster access.
253.What is an Argo CD Application?BeginnerGitOps with Argo CD
An object with a source (where the config is), a destination (which cluster and namespace) and a sync policy. Argo CD keeps the destination equal to the source.
254.What is the difference between sync status and health status?BeginnerGitOps with Argo CD
Sync status says whether the cluster matches Git. Health status says whether the app is working. An app can be Synced and still Degraded.
255.What do prune and self-heal do?BeginnerGitOps with Argo CD
Prune deletes cluster objects that were removed from Git. Self-heal undoes manual changes in the cluster so it matches Git again.