350-401 · Question #1043
What is a difference between Chef and other automation tools?
The correct answer is C. Chef is an agent-based tool that uses cookbooks, and Ansible is an agentless tool that uses. Chef is an agent-based configuration management tool that uses cookbooks, whereas Ansible is an agentless tool relying on playbooks.
Question
Options
- AChef is an agentless tool that uses playbooks, and Ansible is an agent-based tool that uses
- BChef is an agentless tool that uses a primary/minion architecture, and SaltStack is an agent-
- CChef is an agent-based tool that uses cookbooks, and Ansible is an agentless tool that uses
- DChef uses Domain Specific Language, and Puppet uses Ruby.
How the community answered
(40 responses)- A3% (1)
- C95% (38)
- D3% (1)
Why each option
Chef is an agent-based configuration management tool that uses cookbooks, whereas Ansible is an agentless tool relying on playbooks.
Chef is an agent-based tool, not agentless, and while Ansible uses playbooks, the initial statement about Chef is incorrect.
Chef is agent-based, not agentless, making the initial premise of this statement incorrect.
Chef operates with agents (Chef clients) installed on managed nodes that pull configurations from a Chef server, using 'cookbooks' to define desired states. In contrast, Ansible is agentless, connecting to managed nodes via SSH (or WinRM) and using 'playbooks' to execute tasks.
Both Chef and Puppet primarily use Ruby for their Domain Specific Languages (DSLs), so this statement does not highlight a differentiating characteristic.
Concept tested: Configuration management tool characteristics
Source: https://www.redhat.com/en/topics/automation/chef-vs-ansible
Topics
Community Discussion
No community discussion yet for this question.