nerdexam
Juniper

JN0-422 · 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. Explanation/Reference:

Ansible Automation

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

(54 responses)
  • A
    7% (4)
  • B
    74% (40)
  • C
    15% (8)
  • D
    4% (2)

Explanation

Explanation/Reference:

Topics

#Ansible#NETCONF#ConnectRefusedError#connection troubleshooting

Community Discussion

No community discussion yet for this question.

Full JN0-422 Practice