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 →
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 →
11Walk me through hardening a server, from fresh install to production-ready.▼easyNewIBMAccentureTCS○ sign inExperienced answers are ordered and verifiable: minimal base, benchmark applied as code, identity and exposure next, then continuous proof it stayed that way. Checklists recited out of order are the tell.Open full answer →
31Design config distribution to fifty thousand VMs: versioned bundles, staged rollouts, and rollback that actually works.▼hardNewNetflixGoogleMeta◆ premiumDrawing an agent that polls a server is the easy third. The interview is about partial applies, fleet-versus-world state, and why rollback must be a pointer flip, never a reverse edit.Open full answer →