Interview Prep/Linux/Migrations, performance and fleet operations

You need to make 300 servers' configuration consistent and prevent drift. What approach do you propose?

IntermediateScenarioMigrations, performance and fleet operations
Answer

Situation read → Declarative configuration management with regular enforcement.

What I'd do →

  1. Codify everything in Ansible roles in Git (users, packages, sysctl, sshd, agents).
  2. Run it on a schedule (AWX/Ansible Automation Platform, or ansible-pull via timer) in check mode to report drift, and apply mode to fix.
  3. Changes go through pull requests and CI (ansible-lint, Molecule tests).
  4. Long term, immutable images: bake with Packer, replace instead of patching.

Why → Hand-made changes get overwritten or flagged, so the fleet matches Git.

Interview tip → Mention --check --diff to show exactly what would change.

All Linux questions Roadmap: Linux

More on Migrations, performance and fleet operations