INTERVIEW PREP
Interview questions
570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.
Showing 1–5 of 5 questions
Learn Ansible →1.What is Ansible and why is it called agentless?Beginner
Ansible is a tool that configures servers from text files. It is agentless because it connects over SSH (or WinRM), runs small scripts and leaves. Nothing has to be installed on the managed servers except Python.
2.What is the difference between an inventory and a playbook?Beginner
The inventory lists which servers exist and how they are grouped. The playbook says what to do on them.
3.What does idempotent mean, and why does it matter?Beginner
Running a task again gives the same result and makes no change if the server is already correct. It makes playbooks safe to run many times.
4.What is an ad-hoc command?Beginner
A single module run from the command line, such as ansible web -m ping. It is good for quick checks and one-off jobs.
5.What is a module?Beginner
A small, ready-made tool for one job, such as installing a package or copying a file. Tasks call modules.