Exit demo JN0-420 Automation and DevOps, Specialist (JNCIS-DevOps) PDF format · free preview

Juniper JN0-420 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/jn0-420.html

Question 1
Single choice

Which command is valid for accessing a Junos device using the RESTful API on the default port?

A.

curl http://192.168.1.1/rpc/get-interface-information?interface-name=1o0 -u "user:pass123"

B.

curl http://user:[email protected]/rpc/get-interface-information?interface-name=1o0

C.

curl -u "user:pass123" http://192.168.1.1:80/rpc/get-interface-information?interface-name=1o0

D.

curl http://user:[email protected].:3000/rpc/get-interface-information?interface-name=1o0

Question 2
Multiple choice

You need to reset all Junos systems in your lab to their factory-default state and then push a new configuration to the device.

Which two Ansible modules would your playbook use to accomplish this task? (Choose two)

A.

junos_system_services

B.

junos_zeroize

C.

junos_get_facts

D.

junos_install_config

Question 3
Single choice

Click the Exhibit button.
Exhibit:
Ansible playbook:

The r0 device is currently in a factory-default state. The console connection of r0 is reachable using Telnet on TCP port 555 of the console_server host.
Referring to the exhibit, which statement is true?

A.

The device does not require configuration changes for the playbook to run successfully

B.

The Telnet service must be configured for the playbook to run successfully

C.

A password for the root user must be configured for the playbook to run successfully

D.

The NETCONF service must be configured for the playbook to run successfully

Question 4
Single choice

Click the Exhibit button.
Exhibit:

You are using RubyEZ to interact with a Junos device: however, you are not successfully connecting to the device.
Referring to the exhibit, what is the problem?

A.

Argument passed to Netconf:: SSH.new statement must be referenced as variables

B.

Netconf::SSH.new statement only expects an IP address of the target device

C.

Netconf::SSH.new statement arguments must be hashes

D.

A Junos::Ez::Provider statement is missing before the Netconf::SSH. New statement

Question 5
Single choice

Click the Exhibit button.
Exhibit:

How would you test the configuration snippet shown in the exhibit?

A.

Use the root@router% logger SSHD_LOGIN_FAILED command

B.

Use the root@router% logger -e SSHD_LOGIN_FAILED command

C.

Use the root@router% test SSHD_LOGIN_FAILED command

D.

Use the root@router% event SSHD_LOGIN_FAILED command

Question 6
Multiple choice

Which two statements are correct about JSON characteristics? (Choose two)

A.

JSON is a supported template language

B.

JSON is easy to read for humans and devices

C.

JSON uses ## for comments

D.

JSON is programming language independent

Question 7
Single choice

Click the Exhibit button.
Exhibit:

Where would the Python code shown in the exhibit be used?

A.

a commit script

B.

an op script

C.

an event script

D.

an SNMP script

Question 8
Single choice

Click the Exhibit button.
Exhibit:

While using NETCONF, the developer attempts to lock the configuration, but the error shown in the exhibit is received. The developer verifies no one else is configuring the device.
According to Juniper, how would you clear the error in this scenario?

A.

Log in with another NETCONF session, reboot the instance, and save the original configuration

B.

Log in with another NETCONF session and enter the <rpc><close-session>8099</close-session></
rpc>]]>]] command

C.

Log in with another NETCONF session and enter the <rpc><kill-session><session-id>8099</session-
id></kill-session></rpc>]]>]]> command

D.

Log in with another NETCONF session and enter the <rpc><kill-session><session-id>user02</session-
id></kill-session></rpc>]]>]]> command

Question 9
Single choice

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?

A.

router1.example.com was not defined in /etc/hosts on the control machine

B.

Ansible cannot connect to the device through NETCONF

C.

router1.example.com was not defined in /etc/ansible/inventory/hosts on the control machine

D.

Ansible cannot authenticate to the device

Question 10
Single choice

Which statement describes the relationship between YANG and NETCONF?

A.

YANG is the programming language used to generate base classes to develop the NETCONF protocol

B.

NETCONF models XML data used to program YANG modules

C.

YANG models the state and configuration data manipulated by the NETCONF protocol

D.

NETCONF is the programming language used to create the state and configuration data manipulated by YANG

Showing 10 of 65 questions · Unlock the full set