Which trait is shared by both Chef and Ansible?
Choose an answer
Tap an option to check your answer.
Correct answer: They rely on a procedural approach..
Why this is the answer
Both Chef and Ansible are configuration management tools that utilize a procedural approach. This means you define a sequence of steps or tasks that must be executed in a specific order to achieve the desired state. For example, you might instruct the system to install a package, then create a directory, then copy a file. While Ansible primarily uses YAML for its playbooks, Chef uses Ruby for its recipes, so "They use YAML as their primary configuration syntax" is incorrect. A declarative approach focuses on describing the desired end state rather than the steps to get there. While some aspects of Ansible can appear declarative, its core execution model is procedural. Tools like Puppet are more purely declarative. Therefore, "They rely on a declarative approach" is incorrect. Chef uses a client-server architecture where a Chef client runs on managed nodes, making "They are clientless architectures" incorrect. Ansible is clientless, using SSH to connect to managed nodes, but this trait is not shared with Chef.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed