nerdexam
Cisco

350-401 · Question #1208

What do Chef and Ansible have in common?

The correct answer is B. They rely on a procedural approach.. While Chef and Ansible differ in their primary configuration paradigms, both tools, at their core, involve a sequence of operations to manage system configurations.

Submitted by stefanr· Mar 6, 2026Automation

Question

What do Chef and Ansible have in common?

Options

  • AThey use YAML as their primary configuration syntax.
  • BThey rely on a procedural approach.
  • CThey rely on a declarative approach
  • DThey are clientless architectures.

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    93% (27)
  • C
    3% (1)

Why each option

While Chef and Ansible differ in their primary configuration paradigms, both tools, at their core, involve a sequence of operations to manage system configurations.

AThey use YAML as their primary configuration syntax.

Chef uses a Ruby-based DSL for its recipes, not YAML, whereas Ansible primarily uses YAML for its playbooks, making this not a commonality.

BThey rely on a procedural approach.Correct

While Chef explicitly defines configuration steps using a procedural Ruby DSL, Ansible, despite its declarative playbook syntax, also relies on a sequential execution of tasks (modules) to achieve the desired state on target systems, thus involving a procedural execution flow.

CThey rely on a declarative approach

Chef uses a procedural (or imperative) approach where you define *how* to achieve a state, which contrasts with Ansible's declarative approach.

DThey are clientless architectures.

Chef is an agent-based architecture, requiring a chef-client on managed nodes, which means it is not a clientless architecture.

Concept tested: Configuration management tool paradigms

Topics

#Chef#Ansible#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice