JN0-422 Exam Questions
66 real JN0-422 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #2SDN Theory and Application
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...
Ansiblejunos_zeroizejunos_install_configfactory default - Question #3SDN Theory and Application
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 o...
AnsibleNETCONFfactory defaultconsole access - Question #4SDN Theory and Application
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...
RubyEZNetConf SSHconnection argumentsJunos automation - Question #5SDN Theory and Application
Click the Exhibit button. Exhibit: How would you test the configuration snippet shown in the exhibit?
event policysysloglogger commandJunos testing - Question #6API Fundamentals
Which two statements are correct about JSON characteristics? (Choose two)
JSONdata formatsAPI fundamentalsdata interchange - Question #7Junos Automation Platform
Click the Exhibit button. Exhibit:
SNMP scriptJunos scriptsscript typeson-box automation - Question #8API Fundamentals
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...
NETCONFkill-sessionlock conflictsession management - Question #9Ansible Automation
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: u...
AnsibleNETCONFConnectRefusedErrorconnection troubleshooting - Question #10YANG and OpenConfig
Which statement describes the relationship between YANG and NETCONF?
YANGNETCONFdata modelingprotocol relationship - Question #12Junos Automation Platform
You are asked by your manager to automatically switch traffic from the primary link to the backup link on the MX Series device at the branch site whenever latency is above 300 ms o...
event scriptJunos automationpolicy-based automationscript types - Question #13Junos Automation Platform
With which three processes does the JET service process communicate? (Choose three)
JETjsdprocess communicationrpd - Question #14Junos Automation Platform
In SLAX, what is the difference between the jcs:invoke () and the jcs:execute () functions?
SLAXjcs:invokejcs:executeRPC execution - Question #15Junos Automation Platform
You want to enable an unsigned Python op script named inventory.py that will be stored on a local Junos device. Which two commands are needed to accomplish this task? (Choose two)
Python op scriptunsigned scriptsscript configurationJunos CLI - Question #16PyEZ
What are three ways for PyEZ to connect to supported Junos devices? (Choose three)
PyEZdevice connectivityNETCONF over SSHTelnet - Question #17
Click the Exhibit button. Referring to the exhibit, what is the type of the myConfig variable on line 17 of the Python script?
- Question #18API Fundamentals
The <rpc-reply> XML tag is a member of which NETCONF protocol layer?
NETCONFprotocol layersrpc-replymessages layer - Question #19Ansible Automation
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...
Ansible playbookSSH key authenticationpassphrasejunos_get_facts - Question #20Junos Automation Platform
Which statement is true about a Junos ephemeral configuration database?
ephemeral configurationcommit timeconfiguration databaseJunos - Question #21Ansible Automation
Which two automation frameworks are agentless when managing Junos devices? (Choose two)
agentless automationSaltStackAnsibleJunos management - Question #22Junos Automation Platform
What are two attributes of the jsd JET service process? (Choose two)
JETjsdparallel sessionsthreading - Question #23Junos Automation Platform
You are asked to write an application that interacts directly with the internal APIs belonging to rpd Which statement is true in this scenario?
JET APIrpdinternal APIscontrol plane - Question #24Junos Automation Platform
You want to push a configuration onto a Junos device without using NETCONF. Which two will accomplish this task? (Choose two)
ZTPJETconfiguration pushNETCONF alternatives - Question #25Junos Automation Platform
Which two primary processes are used by Juniper devices for on-box or off-box automation? (Choose two)
mgdjsdautomation processeson-box off-box - Question #26Junos Automation Platform
To which component(s) does the JET service APIs provide access?
JET APIcontrol planeservice accessjsd - Question #28API Fundamentals
What is a valid method for determining the Junos RPC associated with the show version command?
RPC discoveryshow versionJunos CLIAPI introspection - Question #29Junos Automation Platform
What are three types of Juniper on-box scripts? (Choose three)
on-box scriptsop scriptsevent scriptscommit scripts - Question #30API Fundamentals
Which messaging protocol do JET service APIs use to interface with the Junos OS?
JET APImessaging protocolMQTTservice API - Question #31API Fundamentals
Which transport protocol must be supported by RFC-compliant NETCONF implementations?
NETCONFSSHRFC compliancetransport protocol - Question #32API Fundamentals
What are two message types that compose the message layer of the Juniper NETCONF implementation? (Choose two?)
NETCONFmessage layerrpcrpc-reply - Question #33API Fundamentals
What is purpose of RubyEZ?
RubyEZRubyJunos Spacemanagement interface - Question #34Ansible Automation
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_fil...
ansible-vaultvars_filesencryptionYAML variables - Question #35
What is correctly formatted JSON string?
- Question #36API Fundamentals
Which data serialization is used between RubyEZ and a Junos device?
RubyEZdata serializationOpenConfigdevice interface - Question #37API Fundamentals
Click the Exhibit button. Exhibit: You are validating access to a Junos device using NETCONF and receive the response shown below. Referring to the exhibit, how would you solve thi...
NETCONFoutbound-sshSSH configurationtroubleshooting - Question #38API Fundamentals
What are three elements of a JET notification message? (Choose three)
JETnotification messagemessage elementsseverity - Question #39Junos Automation Platform
What are two benefits of network automation? (Choose two)
network automationautomation benefitsPython scriptingon-device execution - Question #41API Fundamentals
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...
NETCONFclose-sessionsession managementXML RPC - Question #42Junos Automation Platform
In a Python commit script, which object provides the post-inheritance candidate configuration?
commit scriptPythoncandidate configurationJunos_Configuration object - Question #43PyEZ
Click the Exhibit button. Referring to the exhibit, which exception is raised if the <get-interface-information> RPC takes 40 seconds to return a complete response?
PyEZexception handlingRpcTimeoutErrorRPC timeout - Question #44PyEZ
Click the Exhibit button. Exhibit: You need to programmatically extract interface information using PyEZ from your MX Series device. You log in and use the show interfaces terse |...
PyEZRPC syntaxget_interface_informationterse flag - Question #45Ansible Automation
Which format does an Ansible playbook use?
Ansibleplaybook formatYAMLconfiguration syntax - Question #46Ansible Automation
What are two format distinctions to know when using YAML? (Choose two)
Ansible inventoryhosts filedevice targetinginventory configuration - Question #48Junos Automation Platform
You are writing a SLAX op script to provide a customized rendition of the show interface output. You want to include a command-line argument named interface and provide it with the...
SLAXop scriptparam declarationcommand-line argument - Question #49Junos Automation Platform
Click the Exhibit button. Exhibit: Referring to the exhibit, what are two results of the Python operational script? (Choose two)
Python op scriptinterface deactivationcommitscript analysis - Question #51API Fundamentals
Which YAML document represents a valid mapping (dictionary) of sequences (lists)?
YAMLdata serializationmappingssequences - Question #52Junos Automation Platform
What are three supported languages for operational scripts on Junos devices? (Choose three)
operational scriptsJunos scriptingsupported languagesJunos OS - Question #54Junos Automation Platform
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?
event policyevent scriptsinterface eventshostname - Question #55
By default, Python event scripts and SNMP scripts configured on a Junos device execute as which user?
- Question #56Ansible Automation
Which statement describes the purpose of Ansible roles?
Ansible rolestask organizationplaybook structure - Question #57Ansible Automation
Click the Exhibit button. Exhibit: Referring to the exhibit, what is the execution order of tasks in the Ansible playbook?
Ansible playbooktask execution orderplaybook structure