Which two statements are correct about using REST API with Juniper Mist?
Choose two
Which two statements are correct about JSON and YAML?
Choose two
Which two XML tags are used to represent an element when no data exists?
Choose two
Select the Exhibit button.
Plaintext
[edit]
user@router# show system services rest
http;
https {
server-certificate REST_certificate;
}
traceoptions {
flag lighttpd;
}
enable-explorer;
With reference to the exhibit, traceoptions have been enabled to troubleshoot an issue in which REST API requests are returning no data. In this scenario, which directory contains the traceoptions file?
Which API does NETCONF provide network access to?
Which type of on-box Junos script is automatically triggered based on an entry in a log file?
Which two data serialization formats are used for automation?
Choose two
Which Python operator is used to compare two objects for inequality?
What does the Python Interactive Interpreter do?
Which statement is correct about Python variables that are defined in the global namespace?
Which two statements are valid regarding the NETCONF port in Junos?
Choose two
Click the Exhibit button.
YAML
configuration:
protocols:
ospf:
area:
- interface:
- name: ge-0/0/0.0
- name: lo0.0
name: 0.0.0.0
export:
- share-agg
Based on the exhibit, what is the data type used for the OSPF area 'name' statement?
Click the Exhibit button.
Python
> > > with Device(host = "172.25.11.2", user = "lab", passwd = "lab123") as dev:
... dev.open()
... dev.close()
...
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py", line 1347, in open
self._conn = netconf_ssh.connect(
File "/usr/local/lib/python3.8/dist-packages/ncclient/manager.py", line 168, in connect
return connect_ssh(*args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/ncclient/manager.py", line 135, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/ncclient/transport/ssh.py", line 291, in connect
raise SSHError("Could not open socket to %s:%s" % (host, port))
ncclient.transport.errors.SSHError: Could not open socket to 172.25.11.2:830
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File " < stdin > ", line 1, in < module >
File "/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py", line 1450, in __enter__
self.open()
File "/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py", line 1379, in open
raise EzErrors.ConnectRefusedError(self)
jnpr.junos.exception.ConnectRefusedError: ConnectRefusedError(172.25.11.2)
What would cause the error shown in the exhibit to occur?
You need to retrieve data from the Junos XML API. Which of the following would you use to accomplish this task?
Which Junos process is responsible for aggregating the individual Junos APIs, and is used by the JET API?
Which REST API authentication method combines the use of passwords and tokens?
Referring to the exhibit below, which two XPath expressions will select all user nodes?
Choose two
XML
< system >
< host-name > router < /host-name >
< root-authentication >
< encrypted-password > $5$qpeLtgny$CxpyDUY...agdfxb7cjBKtX6 < /encrypted-password >
< /root-authentication >
< login >
< user >
< name > user1 < /name >
< uid > 2001 < /uid >
< class > super-user < /class >
< authentication >
< encrypted-password > $5$mKl4WHYI$...j9So160BGEJXaCCPJGy. < /encrypted-password >
< /authentication >
< /user >
< user >
< name > user2 < /name >
< uid > 2002 < /uid >
< class > super-user < /class >
< authentication >
< encrypted-password > $5$JZDcAQ12$...E23D8fk9gmZNa6kTEtz70 < /encrypted-password >
< /authentication >
< /user >
< user >
< name > user3 < /name >
< uid > 2003 < /uid >
< class > super-user < /class >
< authentication >
< encrypted-password > $5$JZDcAQ12$...X23d8fK9gmZNa6kActd6. < /encrypted-password >
< /authentication >
< /user >
< /login >
< /system >
Which process or model includes the following stages: design change, commit the change to a Version Control System (VCS), feedback and peer review, automated testing, automated deployment, continuous monitoring, and continuous improvement?
Which two are the primary automation tools handled by the management process (mgd)?
Choose two