Skip to content
$ lynuxpro

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 211–225 of 490 questions

211.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.

212.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.

213.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.

214.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.

215.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.

216.Name the main parts of Argo CD.MidGitOps with Argo CD

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.

217.How do you handle Helm in Argo CD?MidGitOps with Argo CD

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.

218.What is an AppProject for?MidGitOps with Argo CD

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.

219.When do you use sync waves and hooks?MidGitOps with Argo CD

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.

220.What is an ApplicationSet?MidGitOps with Argo CD

A template plus a generator. It creates one Application for each item the generator finds, such as every folder, cluster or pull request.

221.What is the app-of-apps pattern?MidGitOps with Argo CD

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.

222.How do you manage several clusters?MidGitOps with Argo CD

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.

223.How do you keep secrets safe in a GitOps repo?SeniorGitOps with Argo CD

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.

224.How does Argo Rollouts differ from a Deployment?SeniorGitOps with Argo CD

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.

225.How do you promote a release between environments?SeniorGitOps with Argo CD

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.