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 16–24 of 24 questions

Learn GitOps with Argo CD →
16.How does CI work with Argo CD?Senior

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.

17.An app is stuck OutOfSync. What do you do?Senior

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.

18.How do you scale Argo CD for hundreds of apps?Senior

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.

19.How do you recover from losing a cluster?Senior

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.

20.What does Git not protect in a GitOps setup?Senior

Data in databases and volumes, and private keys for secret decryption. They need separate backups.

21.How does Argo CD read a private Git repo?Mid

You add credentials once with argocd repo add, using an HTTPS token or an SSH deploy key. Use a read-only key for that repo only. Every Application that uses the repo then works.

22.How is Argo CD different from Flux?Senior

Both pull from Git and reconcile the cluster. Argo CD has a web UI, an Application object that shows sync and health, and ApplicationSets. Flux is made of smaller controllers with no UI of its own and fits well when you want everything as plain Kubernetes objects. The GitOps ideas are the same.

23.How do you stop a risky automatic deploy on Friday afternoon?Senior

Add a sync window to the AppProject that denies syncs at those times, or use manual sync for production. A person can still be allowed to sync in an emergency with manualSync.

24.What stops prune from deleting something important?Senior

Test with argocd app diff and sync --dry-run first, put the annotation argocd.argoproj.io/sync-options: Prune=false on objects that must stay, use PruneLast, and protect the config repo branch so changes are reviewed.