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.

  1. 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…

  2. 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…

Was this page helpful?

Report a mistake