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 256–270 of 570 questions
256.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.
257.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.
258.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.
259.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.
260.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.
261.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.
262.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.
263.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.
264.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.
265.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.
266.How does CI work with Argo CD?SeniorGitOps with Argo CD
CI builds and tests the image and pushes it with a real tag. Then a CI step or Argo CD Image Updater writes the new tag to the config repo, and Argo CD deploys it.
267.An app is stuck OutOfSync. What do you do?SeniorGitOps with Argo CD
Read the app message, run argocd app diff, look at events and the repo server log, hard refresh, and add ignoreDifferences for fields that other controllers change, such as replicas set by an autoscaler.
268.How do you scale Argo CD for hundreds of apps?SeniorGitOps with Argo CD
Use the HA manifests, several repo server and API replicas, shard the application controller across clusters, use webhooks instead of frequent polling, and watch queue and reconcile metrics.
269.How do you recover from losing a cluster?SeniorGitOps with Argo CD
Create a new cluster, install the same Argo CD version, restore keys that are not in Git, apply the root app so everything syncs, restore data from backups such as Velero, and switch traffic. Practice it.
270.What does Git not protect in a GitOps setup?SeniorGitOps with Argo CD
Data in databases and volumes, and private keys for secret decryption. They need separate backups.