04Where does Terraform stop and Ansible start? Give me a case where using the wrong one hurts.▼mediumNewRed HatAccentureInfosys2 repliesunlockedA staple of services-company interviews, and the boring answer (provisioning versus configuration) is only half of it. The useful half is what happens when you push either tool past its model.Open full answer →
05Your Ansible playbook reports changed on every run. Why is that a bug, and how do you fix it?▼mediumNewRed HatIBMInfosys2 repliesunlockedThe question that finds out whether someone writes playbooks or writes shell scripts wrapped in YAML. Idempotence is a property of the module you chose, not of Ansible.Open full answer →
22Five thousand hosts across two clouds and a datacentre: what does your Ansible inventory look like?▼mediumNewWalmart Global TechSwiggyPhonePe◆ premiumStatic INI files die somewhere near two hundred hosts. Point inventory plugins at the systems that already know the truth, derive groups from tags with constructed inventory, and plan for stale hosts before they page you.Open full answer →
23New engineers cannot decrypt the Vault-encrypted group_vars. How did key handling rot, and what is the fix?▼mediumNewRed HatIBMTCS◆ premiumVault's weakness is the single shared password, not the AES256 underneath. The senior answer covers rekey ceremonies on offboarding, encrypt_string for readable diffs, labelled vault-ids per environment, and shrinking what needs encrypting at all.Open full answer →
24Your playbooks are idempotent today. How do you prove five hundred servers stayed converged over a month?▼mediumNewFlipkartNetflixWalmart Global Tech◆ premiumIdempotence describes one run; convergence describes the fleet across time. Scheduled check-mode sweeps with diff reporting, alerts above a learned baseline, and a hard rule that incident hotfixes become pull requests the same day.Open full answer →