JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 17
Which statement about using Ansible with a Junos device is correct?
Answer options
- A. Ansible modules are executed on the control server
- B. SFTP must be used to allow communication between the Ansible control server and the Junos device
- C. An Ansible agent must be installed and running on the Junos device
- D. An Ansible playbook is a set of tasks written in XML
Correct answer: C
Explanation
The correct answer is C because Ansible requires an agent installed on the managed devices for effective communication. Option A is incorrect as Ansible modules do not execute on the control server for Junos devices; they communicate over SSH. Option B is wrong since Ansible typically uses SSH for communication, not SFTP. Option D is incorrect because Ansible playbooks are written in YAML, not XML.