What is a common trait between Ansible and Chef?
What is a common trait between Ansible and Chef?
Both Ansible and Chef are used for mutable infrastructure. Configuration management tools like these typically manipulate the existing structures rather than creating and destroying resources in a stateless manner.
B is correct
Answer is B Configuration management tools such as Chef, Puppet, and Ansible typically default to a mutable infrastructure paradigm. Chef and Ansible encourage a procedural style where you write code that specifies, step-by-step, how to to achieve some desired end state. https://blog.gruntwork.io/why-we-use-terraform-and-not-chef-puppet-ansible-saltstack-or-cloudformation-7989dad2865c
Answer is B: Chef and Ansible(mostly hybrid) are based on a procedural or imperative style where you write code that specifies a complete step-by-step process on how to achieve the desired end state
Vote changed to B here https://blog.gruntwork.io/why-we-use-terraform-and-not-chef-puppet-ansible-saltstack-or-cloudformation-7989dad2865c#b264
- oh babanaber already linked.
given answer seems to be correct https://blog.gruntwork.io/why-we-use-terraform-and-not-chef-puppet-ansible-saltstack-or-cloudformation-7989dad2865c#:~:text=Configuration%20management%20tools%20such%20as%20Chef%2C%20Puppet%2C%20and%20Ansible%20typically%20default%20to%20a%20mutable%20infrastructure%20paradigm.
i think answer is b
Option B, "Both are used for mutable infrastructure," is not the best choice because Ansible and Chef can be used for both mutable and immutable infrastructure.
B is correct
The trait mentioned in option B, "Both are used for mutable infrastructure," does not apply to both Ansible and Chef. While it is true that both tools are used for configuration management and automation, the statement about mutable infrastructure does not accurately represent a common trait between Ansible and Chef. Therefore, the correct common trait is that both rely on a declarative approach (option A). If you have any more questions or need further explanations, feel free to ask!
A is the answear
Ansible and Chef is procedural not declarative!
wrong , A is right
WRONG! Both are procedural. Take a look at question 989.
Ansible - YAML based playbooks Chef - Ruby based recipes / Cookbook
- revisited - Chef uses procedural with cookbook - B seems better. -Sorry