Interview Prep/Linux/Patching, Automation & Golden Images

What is configuration drift and how do you detect it?

IntermediateProductionPatching, Automation & Golden Images
Answer

Drift is when a server's real state diverges from its declared state, usually from manual hotfixes. Detect it with scheduled ansible-playbook --check --diff, AIDE / package verification (rpm -Va), or compliance scanners. Prevent it by removing interactive root access, making changes only through pipelines, and replacing rather than repairing instances.

All Linux questions Roadmap: Linux

More on Patching, Automation & Golden Images