Download Juniper JN0-421 Sample Questions [Oct-2022]
Real JN0-421 Exam Questions and Answers FREE
Juniper JN0-421 Exam Topics:
| Section | Objectives |
|---|---|
| Python | Describe Python tools for automating Junos
|
| Stateful Configuration (Ansible/SALT) | Describe how to use Ansible for automating Junos
|
| YANG/OpenConfig | Identify the concepts and general features of Junos support for YANG models
|
| Data Serialization and Templating | Describe the concepts, benefits, or operation of data serialization
|
| NETCONF/XML API | Describe the concepts, benefits, or operation of automation access methods
|
| Juniper Extension Toolkit | Identify the concepts, general features, or functionality of the Juniper Extension Toolkit
|
| Junos Automation Scripts | Describe the concepts, benefits, or operation of automation scripts for Junos
|
NEW QUESTION 22
Click the Exhibit button.
Exhibit:
Junos Event Policy Configuration


Referring to the exhibit. What will the hostname be if interface ge-0/0/0 goes down?
- A. int-test-4
- B. int-test-3
- C. int-test-2
- D. int-test-1
Answer: D
NEW QUESTION 23
You want to implement a function that is available in the Junson OS, but not defined in a standard model.
Which statement would you use with YANG to accomplish this task?
- A. choice
- B. case
- C. deviation
- D. augment
Answer: A
NEW QUESTION 24
In SLAX, what is the difference between the jcs : invoke ( ) and the jcs : execute ( ) functions?
- A. RPCs called by jcs : invoke ( ) are not executed until the conclusion of the script.
- B. RPCs called by jcs : execute ( ) are not executed until the conclusion of the script.
- C. RPCs called by jcs : invoke ( ) are executed within an existing connection.
- D. RPCs called by jcs : execute ( ) are executed within an existing connection.
Answer: A
NEW QUESTION 25
You organization is creating a custom YANG module. You are asked to create a leaf node called timeout with a data type of duration.
In this scenario, what is the appropriate syntax for this leaf node?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option D
- D. Option C
Answer: D
NEW QUESTION 26
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 logout command
- B. Use the quit command
- C. Use the <rpc><close-session></close-session></rpc> command.
- D. Use the <rpc><kill-session></kill-session></rpc> command.
Answer: C
NEW QUESTION 27
Drag and drop
Referring to the exhibit, what should <CHANGEME> be replaced with to correctly print out the exception message Cannot cannot to device ?
- A. CommitError
- B. PeramissionError
- C. ConnectError
- D. RpcError
Answer: A
NEW QUESTION 28
Click the Exhibit:

Referring to the exhibit, what will he hostname be if interface ge-0/0/0 goes down?
- A. int-test-4
- B. int-test-3
- C. int-test-1
- D. int-test-2
Answer: D
NEW QUESTION 29
Which pair of daemons in the Junson OS handle automation?
- A. mgd and JET
- B. mgd and jsd
- C. jsd and gRPC
- D. JET and gRPC
Answer: C
NEW QUESTION 30
Click the Exhibit button.
Exhibit:
Where would the Python code shown in the exhibit be used?
- A. an SNMP script
- B. an op script
- C. an event script
- D. a commit script
Answer: A
NEW QUESTION 31
Which statement is true about a Junos ephemeral configuration database?
- A. It can be used to archive previous versions of the ephemeral configuration.
- B. It can be used to trigger a commit script.
- C. It can be used to validate configuration data semantics.
- D. It can be used to reduce commit time.
Answer: C
NEW QUESTION 32
What are three elements of a JET notification message? (Choose three.)
- A. severity
- B. hostname
- C. time
- D. subscription type
- E. username
Answer: A,C,E
NEW QUESTION 33
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. Ansible cannot connect to the device through NETCONF
- B. router1.example.com was not defined in /etc/hosts on the control machine
- C. Ansible cannot authenticate to the device
- D. router1.example.com was not defined in /etc/ansible/inventory/hosts on the control machine
Answer: A
Explanation:
Explanation
References:
https://www.juniper.net/documentation/en_US/junos-ansible/topics/task/troubleshooting/junos-ansible-connectio
NEW QUESTION 34
What are three ways for PyEZ to connect to supported Junos devices? (Choose three.)
- A. JET API
- B. NETCONF over SSH
- C. Telnet
- D. Webook
Answer: B
NEW QUESTION 35
Which command is valid for assessing a Junos device using the RESTful API on the default port?
A)
B)
C)
D)
- A. Option B
- B. Option A
- C. Option C
- D. Option D
Answer: B
NEW QUESTION 36
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 and enter the
<rpc><kill-session><session-id>8099</session-id></kill-session></rpc>]]>]]> command - 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>user02</session-id></kill-session></rpc>]]>]]> command - D. Log in with another NETCONF session, reboot the instance, and save the original configuration
Answer: A
Explanation:
Explanation
https://www.juniper.net/documentation/en_US/junos/topics/reference/tag-summary/netconf-kill-session.html
NEW QUESTION 37
Which messaging protocol do JET service APIs use to interface with the Junos OS?
- A. NETCONF
- B. gRPC
- C. MQTT
- D. RabbitMQ
Answer: C
NEW QUESTION 38
Click the Exhibit button.


Referring to the exhibit, which Python statement selects the <user-entry> element for the user logged in on the pts/2 TTY?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: D
NEW QUESTION 39
Which YAML document represents a valid mapping (dictionary) of sequences (lists)?



- A. Option A
- B. Option B
- C. Option D
- D. Option C
Answer: D
NEW QUESTION 40
Click the Exhibit button.
Referring to the exhibit, which exception is raised if the <get-interface-information> RPC tasks 40 seconds to return a complete response?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option D
- D. Option C
Answer: D
NEW QUESTION 41
Click the Exhibit button.
Exhibit:
Referring to the exhibit, the configuration components are displayed in which format?
- A. YANG
- B. XML
- C. YAML
- D. JSON
Answer: D
NEW QUESTION 42
......
Truly Beneficial For Your Juniper Exam: https://www.fast2test.com/JN0-421-premium-file.html