Interview Q&A · questions with model answers
Ansible Interview Questions
Part of the study plan for: DevOps Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked Explain Ansible's architecture: control node, inventory, modules, playbooks, roles and handlers.
Ansible runs from a control node and connects to managed hosts over SSH (WinRM for Windows) with no agent installed. The inventory lists hosts and groups, modules do the work on each host, playbooks…
-
Explain serial, delegate_to, when and notify in Ansible.
serial limits how many hosts a play changes at once (rolling updates); delegate_to runs a task on a different host than the one being processed (for example, the load balancer); when makes a task…