200-301 · Question #1721
Which protocol does Ansible use to push modules to nodes in a network?
The correct answer is D. SSH. Ansible is an agentless automation tool that primarily uses SSH (Secure Shell) to establish secure communication, push modules, and execute commands on managed nodes.
Question
Which protocol does Ansible use to push modules to nodes in a network?
Options
- ATelnet
- BKerberos
- CSNMP
- DSSH
How the community answered
(23 responses)- B9% (2)
- C4% (1)
- D87% (20)
Why each option
Ansible is an agentless automation tool that primarily uses SSH (Secure Shell) to establish secure communication, push modules, and execute commands on managed nodes.
Telnet is an outdated and insecure protocol that transmits data, including sensitive credentials, in plain text, rendering it unsuitable for secure and modern automation practices like those employed by Ansible.
Kerberos is a robust network authentication protocol that provides strong authentication using secret-key cryptography, but it serves as an authentication mechanism rather than the primary transport protocol Ansible uses to push modules or execute commands; SSH fulfills the transport role.
SNMP (Simple Network Management Protocol) is primarily utilized for monitoring and managing network devices, collecting operational data, and sending alerts, but it is not the protocol Ansible uses to push configuration modules or execute commands on managed nodes.
Ansible is designed as an "agentless" automation tool that leverages standard, secure protocols already present on managed nodes. For Linux/Unix-like systems, it uses SSH (Secure Shell) to establish a secure connection, transfer its operational modules, and execute configuration or command instructions, eliminating the need for any special agent software on the target systems.
Concept tested: Ansible communication protocol
Source: https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html
Topics
Community Discussion
No community discussion yet for this question.