Skip to main content
InterviewHubPRO
Section Overview
Q31

Question 31 of 50

Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)

62%
GitOps & ArgoCD (50 Qs)•Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)

How do you prevent and audit manual `kubectl` backdoor overrides?

senior LevelSecurity & Auth

In Simple Words:

  • In strict GitOps environments, remove cluster-admin write access for all human developers. Human access should be strictly read-only (kubectl get, kubectl logs).
  • All changes must go through a Git Pull Request with peer approvals.
  • Enable ArgoCD selfHeal: true so that even if a developer with elevated emergency access edits a deployment, it is reverted back to the Git state within seconds.