nerdexam
Juniper

JN0-420 · Question #9

A customer has a control machine with a default Ansible installation. During execution of an Ansible module against a Junos device, the Ansible control machine generates the msg: unable to connect…

The correct answer is B. Ansible cannot connect to the device through NETCONF. See the full explanation below for the reasoning.

Question

A customer has a control machine with a default Ansible installation. During execution of an Ansible module against a Junos device, the Ansible control machine generates the msg: unable to connect to router1.example.com: ConnectRefusedError (router1.example.com) error. What is the cause for this error?

Options

  • Arouter1.example.com was not defined in /etc/hosts on the control machine
  • BAnsible cannot connect to the device through NETCONF
  • Crouter1.example.com was not defined in /etc/ansible/inventory/hosts on the control machine
  • DAnsible cannot authenticate to the device

How the community answered

(69 responses)
  • A
    7% (5)
  • B
    78% (54)
  • C
    12% (8)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full JN0-420 Practice