What Common Trait Do Ansible and Chef Share?
What is a common trait between Ansible and Chef?
Community Votes
62% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
It tests your ability to differentiate between infrastructure provisioning paradigms (immutable) and configuration management paradigms (mutable), with the common trap being the conflation of declarative syntax with actual infrastructure lifecycle management.
This question evaluates the fundamental operational paradigm shared by popular configuration management tools. Industry standards and exam consensus classify both Ansible and Chef as solutions designed for managing mutable infrastructure, distinguishing them from immutable provisioning platforms.
Candidates frequently select Option A, assuming both tools are strictly declarative due to Ansible's YAML playbooks and Chef's resource abstractions. However, Chef relies heavily on Ruby-based procedural logic, and both tools inherently modify running systems rather than rebuilding them from scratch, making 'mutable infrastructure' the more accurate and exam-aligned common trait.
Community Discussion (13 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Understanding Mutable vs. Immutable Infrastructure
The core distinction tested here lies in how infrastructure is managed throughout its lifecycle. Tools like Terraform, Packer, and cloud-init focus on immutable infrastructure, where servers are destroyed and replaced rather than modified. In contrast, Ansible and Chef are configuration management tools explicitly designed for mutable infrastructure. They connect to running systems and apply changes incrementally to reach a desired state, which aligns perfectly with Option B. As highlighted in the widely cited Gruntwork engineering blog referenced by multiple candidates, CM tools "typically default to a mutable infrastructure paradigm."Why Declarative Syntax Does Not Equal Declarative Infrastructure
Option A is the most debated distractor. While Ansible uses YAML playbooks that read declaratively, Chef relies on Ruby recipes that are largely procedural/imperative, specifying step-by-step instructions. Even when using DSLs, both tools operate within a mutable environment. The exam focuses on the infrastructure paradigm rather than the syntax style, making B the stronger, more universally accepted answer in the DevNet curriculum.Eliminating Other Options
- Option C is incorrect because Ansible is famously agentless, communicating over SSH/WinRM without requiring a persistent client daemon on target hosts. Chef, however, requires the
chef-clientagent. - Option D is incorrect because NETCONF is a network management protocol specifically for network devices (routers, switches). Neither Ansible nor Chef exclusively or primarily relies on it for general-purpose configuration management.
Official Reference
Exam Strategy
When comparing infrastructure tools, always separate "syntax paradigm" (declarative vs. procedural) from "operational paradigm" (mutable vs. immutable). For the DevNet exam, remember that Terraform and cloud providers handle immutable provisioning, while Ansible, Chef, and Puppet handle mutable configuration management. If an option describes how the tool interacts with running systems, prioritize that over language-specific syntax traits.
Related Analysis
Practice All 350-401 Questions
Access 218 questions with complete answers and detailed explanations.
View Full 350-401 Practice Test →