nerdexam
Juniper

JN0-422 · Question #19

Click the Exhibit button. Exhibit: The Ansible playbook shown in the exhibit is executed against a set of Junos network devices. Each Junos device is configured with a user account in the super…

The correct answer is C. The playbook executes and prints the version of Junos running on each network device as the value of response.facts.version. Explanation/Reference:

Ansible Automation

Question

Click the Exhibit button. Exhibit:

The Ansible playbook shown in the exhibit is executed against a set of Junos network devices. Each Junos device is configured with a user account in the super- user login class. The user account uses SSH-key-based authentication with a passphrase of user123. What is the result of executing this playbook against the Junos network devices?

Exhibit

JN0-422 question #19 exhibit

Options

  • AThe playbook executes, but fails with a "ConnectAuthError" due to the missing passphrase argument to the junos_get_facts module
  • BThe playbook fails due to a YAML syntax error.
  • CThe playbook executes and prints the version of Junos running on each network device as the value of response.facts.version
  • DThe playbook executes and prints "VARIABLE IS NOT DEFINED!" as the value response.facts.version

How the community answered

(17 responses)
  • A
    18% (3)
  • B
    6% (1)
  • C
    71% (12)
  • D
    6% (1)

Explanation

Explanation/Reference:

Topics

#Ansible playbook#SSH key authentication#passphrase#junos_get_facts

Community Discussion

No community discussion yet for this question.

Full JN0-422 Practice