What are three ways for PyEZ to connect to supported Junos devices? (Choose three)
Answer(s): A,B,C
Click the Exhibit button.Exhibit:Referring to the exhibit, what is the type of the myConfig variable on line 17 of the Python script?
Answer(s): C
from jnpr.junos import Device from jnpr.junos.utils.config import Config from jnpr.junos.exception import *from jinja2 import Template import yaml import sys with open('vMX-1.yml', 'r') as fh:data = yaml.load(fh.read())with open('test.j2', 'r') as t_fh:t_format = t_fh.read()template = Template(t_format)myConfig = template.render(data)print(type(myConfig))python3 script.py<class 'str'>
The <rpc-reply> XML tag is a member of which NETCONF protocol layer?
Answer(s): A
The NETCONF protocol uses an RPC-based communication model. NETCONF peers use <rpc> and <rpc-reply> elements to provide transport-protocol-independent framing of NETCONF requests and responses.
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?
Which statement is true about a Junos ephemeral configuration database?
Answer(s): B
Post your Comments and Discuss Juniper JN0-421 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the JN0-421 content, but please register or login to continue.