CiscoCisco
350-501 · Question #386
350-501 Question #386: Real Exam Question with Answer & Explanation
The correct answer is A: Ansible uses YAML and Chef uses Ruby.. A primary difference between Ansible and Chef is their language usage; Ansible employs YAML for its playbooks, while Chef utilizes Ruby for its cookbooks and recipes.
Automation and Assurance
Question
What Is one of the differences between Ansible and Chef?
Options
- AAnsible uses YAML and Chef uses Ruby.
- BChef requires the use of Windows in the environment and Ansible requires Linux.
- CChef is highly scalable and Ansible is highly secure.
- DAnsible uses Ruby and Chef uses Python.
Explanation
A primary difference between Ansible and Chef is their language usage; Ansible employs YAML for its playbooks, while Chef utilizes Ruby for its cookbooks and recipes.
Common mistakes.
- B. Both Chef and Ansible are cross-platform and can manage both Windows and Linux environments; neither tool has a strict requirement for the environment to be exclusively Windows or Linux.
- C. Both Chef and Ansible are designed to be scalable and secure for configuration management; attributing one characteristic exclusively to one tool is a misrepresentation of their capabilities.
- D. Ansible is primarily developed using Python, and Chef is primarily developed using Ruby, so this statement incorrectly reverses their primary language associations.
Concept tested. Configuration management tool comparison
Reference. https://www.ansible.com/overview/how-ansible-works, https://www.chef.io/products/chef-infra
Topics
#Ansible#Chef#Configuration Management#Automation Tools
Community Discussion
No community discussion yet for this question.