Which statement describes a key operational difference between Ansible and Chef?
Choose an answer
Tap an option to check your answer.
Correct answer: Ansible pushes the configuration to the client. Chef client pulls the configuration from the server..
Why this is the answer
The correct answer highlights a fundamental difference in how these tools manage configurations. Ansible operates in a "push" model, where the Ansible control node initiates SSH connections to target hosts and pushes configuration changes or commands. Chef, conversely, uses a "pull" model; the Chef client (agent) running on each managed node periodically connects to the Chef server to pull down its assigned configuration and apply it. Incorrect options: Ansible uses YAML for playbooks, not Ruby. Chef uses Ruby for its recipes and cookbooks, not YAML. Ansible is agentless and typically runs from a Linux/Unix control node. Chef server primarily runs on Linux/Unix, not Windows. Both Ansible and Chef offer solutions for high availability and redundancy for their respective control planes (Ansible Automation Platform for Ansible, and Chef HA for Chef).
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed