350-501 · Question #119
What do Ansible and Salt Stack have in common?
The correct answer is B. They both use YAML configuration language. Both Ansible and SaltStack are popular configuration management and orchestration tools that utilize YAML (YAML Ain't Markup Language) as their primary language for defining configurations, playbooks, and states.
Question
What do Ansible and Salt Stack have in common?
Options
- AThey both use DSL configuration language
- BThey both use YAML configuration language
- CThey both have agents running on the client machine
- DThey both can be designed with more than one master server
How the community answered
(29 responses)- A3% (1)
- B93% (27)
- C3% (1)
Why each option
Both Ansible and SaltStack are popular configuration management and orchestration tools that utilize YAML (YAML Ain't Markup Language) as their primary language for defining configurations, playbooks, and states.
While both tools might be considered to have a DSL (Domain Specific Language) for their configurations, YAML is a more specific and accurate commonality in terms of the underlying data serialization language.
Both Ansible and SaltStack prominently use YAML for writing their configuration files, playbooks (Ansible), and state files (SaltStack), making it a common syntax for defining desired system states and automation tasks.
Ansible is agentless, relying on SSH for communication, whereas SaltStack typically requires agents (minions) to be running on the client machines for management.
While both platforms can be architected for high availability with multiple masters, this is an architectural capability rather than a direct commonality in their core configuration language or operating principle for every deployment.
Concept tested: Configuration Management Tool YAML Usage
Source: https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html | https://docs.saltproject.io/en/latest/ref/configuration/index.html
Topics
Community Discussion
No community discussion yet for this question.