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 1–15 of 24 questions
Learn GitOps with Argo CD →1.What is GitOps?Beginner
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.
2.What is the difference between push and pull deploys?Beginner
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.
3.What is an Argo CD Application?Beginner
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.
4.What is the difference between sync status and health status?Beginner
Sync status says whether the cluster matches Git. Health status says whether the app is working. An app can be Synced and still Degraded.
5.What do prune and self-heal do?Beginner
Prune deletes cluster objects that were removed from Git. Self-heal undoes manual changes in the cluster so it matches Git again.
6.Name the main parts of Argo CD.Mid
The API server (UI, CLI, API), the repo server (reads Git and renders Helm or Kustomize), the application controller (compares and syncs), and Redis (cache). Dex optionally handles single sign-on.
7.How do you handle Helm in Argo CD?Mid
Point the source at a chart repo or a chart folder in Git, pin the chart version, and give values through valueFiles or valuesObject. Argo CD renders the chart itself, so it does not create a Helm release.
8.What is an AppProject for?Mid
It limits which repos, clusters, namespaces and object kinds apps in it may use. It stops one team from deploying into another team's area or into kube-system.
9.When do you use sync waves and hooks?Mid
Waves put objects in order, such as database before app. Hooks run a Job at a point in the sync, such as a PreSync migration or a PostSync smoke test.
10.What is an ApplicationSet?Mid
A template plus a generator. It creates one Application for each item the generator finds, such as every folder, cluster or pull request.
11.What is the app-of-apps pattern?Mid
A root Application points to a folder of Application files. Syncing the root creates every child, so one apply can set up a whole cluster.
12.How do you manage several clusters?Mid
Add each with argocd cluster add and give it labels. Applications choose a destination by name, and a cluster generator can pick clusters by label.
13.How do you keep secrets safe in a GitOps repo?Senior
Never commit plain secrets. Use Sealed Secrets or SOPS to commit encrypted data, or External Secrets Operator to commit only a pointer to a vault. Back up the keys and limit who can see Secrets in the UI.
14.How does Argo Rollouts differ from a Deployment?Senior
A Rollout can release in steps, with canary or blue-green, check metrics with analysis and go back automatically. A Deployment only does a rolling update.
15.How do you promote a release between environments?Senior
Change a file in Git, such as the image tag in the next environment's folder, through a reviewed pull request. Promote the same image, gate with tests, and roll back with git revert.