JN0-421 Dumps (2022) Prepare Your Exam With 66 Questions
New JN0-421 Dumps - Real Juniper Exam Questions
NEW QUESTION 29
In SLAX, what is the difference between the jcs : invoke ( ) and the jcs : execute ( ) functions?
- A. RPCs called by jcs : execute ( ) are executed within an existing connection.
- B. RPCs called by jcs : invoke ( ) are not executed until the conclusion of the script.
- C. RPCs called by jcs : execute ( ) are not executed until the conclusion of the script.
- D. RPCs called by jcs : invoke ( ) are executed within an existing connection.
Answer: B
NEW QUESTION 30
Click the Exhibit button.
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><kill-session>< session -id>user02</session-id></kill-session></rpc]]>]]> command.
- C. Login 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><close-session>8099</close-session><rpc>]]>]]> command.
Answer: A
NEW QUESTION 31
Which two primary processes are used by Juniper devices for on-box or off-box automation? (Choose two)
- A. rpd
- B. mgd
- C. jsd
- D. ancpd
Answer: B,C
NEW QUESTION 32
Which two primary processes are used by Juniper devices for on-box or off-box automation?
- A. rpd
- B. jsd
- C. ancpd
- D. mgd
Answer: C
NEW QUESTION 33
Which format does an Ansible playbook use
- A. CSV
- B. YAML
- C. JSON
- D. XML
Answer: B
NEW QUESTION 34
What are three supported languages for operational scripts on Junos devices? (Choose three)
- A. PHP
- B. Python
- C. XSLT
- D. Java
- E. SLAX
Answer: B,C,E
Explanation:
Explanation
Junos automation scripts can be written in the following scripting languages:
References:
NEW QUESTION 35
To which component(s) does the JET service APIs provide access?
- A. YANG modules
- B. forwarding plane
- C. control plane
- D. XML APIs
Answer: C
NEW QUESTION 36
Which transport protocol must be supported by RFC-compliant NETCONF implementations?
- A. Telnet
- B. TLS
- C. BEEP
- D. SSH
Answer: D
Explanation:
Explanation
The NETCONF protocol uses a simple remote procedure call (RPC) layer running over secure transports to facilitate communication between a client and a server. The Secure Shell (SSH) [6] is the mandatory secure transport that all NETCONF clients and servers are required to implement as a means of promoting interoperability.
References:
NEW QUESTION 37
You want to push a configuration onto a Junos device without using NETCONF.
Which two will accomplish this task? (Choose two.)
- A. JSNAPy
- B. ZTP
- C. Ansible
- D. JET
Answer: A,D
NEW QUESTION 38
What are three elements of a JET notification message? (Choose three)
- A. subscription type
- B. time
- C. username
- D. hostname
- E. severity
Answer: B,D,E
Explanation:
Explanation
JET notification is delivered in JSON format. The JSON message has two parts, one the header, and other the event-information portion, called attributes. The header is common for all events. It contains the event ID, hostname, time, severity, and facility of the event. The attributes vary depending event's topic name.
References:
NEW QUESTION 39
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/ansible/inventory/hosts on the control machine
- B. Ansible cannot authenticate to the device
- C. Ansible cannot connect to the device through NETCONF
- D. router1.example.com was not defined in /etc/hosts on the control machine
Answer: C
Explanation:
Explanation
References:
https://www.juniper.net/documentation/en_US/junos-ansible/topics/task/troubleshooting/junos-ansible-connectio
NEW QUESTION 40
Click the Exhibit button.

An automation developer is using command-line scripting and wants to briefly survey NETCONF capabilities before running a new task.
Referring to the exhibit, how does the automation developer end the current NETCONF session and go to the next one?
- A. Use the <rpc><kill-ession></close-session></>pc> command.
- B. Use the quit command.
- C. Use the logout command.
- D. Use the <rpc><kill-ession><kill-session></>pc> command.
Answer: D
NEW QUESTION 41
With the inclusion of Python in the Junos OS, what is an advantage that this feature provides administrators?
- A. It provides compatibility with all Python versions.
- B. The ability to execute Python scripts on the device.
- C. It provides the Python command line (REPL) for testing
- D. The ability to compile Python scripts on the device.
Answer: B
NEW QUESTION 42
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><kill-session><session-id>user02</session-id></kill-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><close-session>8099</close-session></rpc>]]>]] command
Answer: C
Explanation:
Explanation
https://www.juniper.net/documentation/en_US/junos/topics/reference/tag-summary/netconf-kill-session.html
NEW QUESTION 43
Click the Exhibit button.
Exhibit:
Your manager asks you to troubleshoot an Ansible problem when logging into a Junos device. You notice the Ansible play in question has a vars_files argument that calls the variables.yml entry file. The contents of that file are displayed in the exhibit.
What is happening in this scenario?
- A. The file is encrypted with ansible-vault
- B. The variables.yml file is not actually a YAML file
- C. The file is encrypted with ansible
- D. The file is an SSH key
Answer: A
NEW QUESTION 44
Drag and drop
In the Python commit script, which object provides the post-inheritance candidate configuration?
- A. Checkout_Configuration
- B. Canadidate_ Configuration
- C. Junos_ Configuration
- D. Commit-Script-Input
Answer: A
NEW QUESTION 45
Click the Exhibit button.
You manger asks you to trouble shoot an Ansible problem when logging into a Junson device. You notice the Ansible pay in question has a vars_files argument that calls the variables.yml entery file. The contents of that file are displayed in the exhibit.
What is happening in this scenario?
- A. The file is encrypted with ansible
- B. The file is encrypted with ansible-vault
- C. The file is an SSH key
- D. The variables.yml files is not actually a YAMI.file.
Answer: C
NEW QUESTION 46
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 NETCONF service must be configured for the playbook to run successfully
- B. A password for the root user must be configured for the playbook to run successfully
- C. The Telnet service must be configured for the playbook to run successfully
- D. The device does not require configuration changes for the playbook to run successfully
Answer: A
NEW QUESTION 47
What are two attributes of the jsd JET service process? (Choose two)
- A. It creates a separate thread to service JET application requests
- B. It supports only one client session at a time
- C. It executes one API request per session
- D. It executes APIs from multiple sessions in parallel
Answer: A,D
Explanation:
Explanation
To support application interaction with Junos OS, the JETservice process (jsd), by default, uses TCP port
32767 to listen for and receive requests from applications to execute APIs. Whenever a request comes on the TCP port, jsd creates a separate thread to service the JET application request. The session remains established as long as the client and server are both up and able to communicate with each other. Over the lifetime of a session, jsd can execute many APIs, and it can execute APIs from multiple sessions in parallel. You can have a maximum of 8 active client sessions connected at any given time.
References:
NEW QUESTION 48
Exhibit:
Referring to the exhibit. how would you solve this issue ?
- A. Enable ssh under the NETCONF configuration hierarchy.
- B. Enable outbound-ssh with services netconf under the SSH configuration hierarchy.
- C. Enable protocol-version v1 under the SSH configuration hierarchy.
- D. Enable trace options under the NETCONF configuration hierarchy.
Answer: A
NEW QUESTION 49
Which statement describes the relationship between YANG and NETCONF?
- A. NETCONF is the programming language used to create the state and configuration data manipulaterd by YANG.
- B. NETCONF models XML data use to program YANG modules.
- C. YANG is the programming language used to generate base classes to develop the NETCONF protocol.
- D. YANG models the state and configuration data manipulated by the NETCONF protocol.
Answer: A
NEW QUESTION 50
Click the Exhibit button.
Exhibit:
An automation developer is using command-line scripting and wants to briefly survey NETCONF capabilities before running a new task.
Referring to the exhibit, how does the automation developer end the current NETCONF session and go to the next one?
- A. Use the <rpc><kill-session></kill-session></rpc> command.
- B. Use the quit command
- C. Use the <rpc><close-session></close-session></rpc> command.
- D. Use the logout command
Answer: C
NEW QUESTION 51
Click the Exhibit button.
Exhibit:
Referring to the exhibit, the configuration components are displayed in which format?
- A. YANG
- B. JSON
- C. XML
- D. YAML
Answer: B
NEW QUESTION 52
Click the Exhibit button.
Exhibit:

Referring to the exhibit, what are two results of the Python operational script? (Choose two)
- A. It does not commit the configuration
- B. It deactivates a user-selected interface
- C. It disables a user-selected interface
- D. It commits the configuration
Answer: C,D
NEW QUESTION 53
......
Get Ready with JN0-421 Exam Dumps: https://www.actualtestsit.com/Juniper/JN0-421-exam-prep-dumps.html