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.
More on Patching, Automation & Golden Images
What does a good Linux patching strategy look like?BeginnerIn-place patching vs immutable image replacement: which do you prefer?IntermediateHow do you know whether a server needs a reboot after patching?BeginnerHow do you configure automatic security updates?BeginnerWhat is kernel live patching?IntermediateHow do you roll kernel updates across a 200-node fleet safely?Advanced