AWS DevOps Engineer Professional DOP-C01 – Question457

When Ansible's connection state is set to `remote', what method of communication does Ansible utilize to run commands on the remote target host?

A.
SSH
B. RSH
C. PSExec
D. API call to Ansible client on host

Correct Answer: A

Explanation:

Explanation: Ansible does not require a client/server architecture and makes all remote connections over SSH. Ansible utilizes the Paramiko Python libraries for SSH when the native system OpenSSH libraries do not meet the requirements. Also note, Ansible does require Python be installed on the target host. When the target host is Windows, it uses WinRS
Reference:
http://docs.ansible.com/ansible/intro_getting_started.html#remote-c…