Which command is valid for accessing a Junos device using the RESTful API on the default port?
A. curl http://192.168.1.1/rpc/get-interface-information?interface-name=1o0 –u “user:pass123”
B. curl http://user:pass123@192.168.1.1/rpc/get-interface-information?interface-name=1o0
C. curl –u “user:pass123” http://192.168.1.1:80/rpc/get-interface-information?interface-name=1o0
D. curl http://user:pass123@192.168.1.1.:3000/rpc/get-interface-information?interface-name=1o0
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 is the problem?
A. Argument passed to Netconf:: SSH.new statement must be referenced as variables
B. Netconf::SSH.new statement only expects an IP address of the target device
C. Netconf::SSH.new statement arguments must be hashes
D. A Junos::Ez::Provider statement is missing before the Netconf::SSH. New statement
Click the Exhibit button. Exhibit:

Where would the Python code shown in the exhibit be used?
A. a commit script
B. an op script
C. an event script
D. an SNMP script
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/hosts on the control machine
B. Ansible cannot connect to the device through NETCONF
C. router1.example.com was not defined in /etc/ansible/inventory/hosts on the control machine
D. Ansible cannot authenticate to the device
You are asked to write an application that interacts directly with the internal APIs belonging to rpd. Which statement is true in this scenario?
A. You must write the application using the XML APIs
B. You must write the application using the REST APIs
C. You must write the application using the JET APIs
D. You must write the application using the YANG APIs
In a Python commit script, which object provides the post-inheritance candidate configuration?
A. Commit-Script-Input
B. Junos_Configuration
C. Candidate_Configuration
D. Checkout_Configuration
Click the Exhibit button. Exhibit:

Referring to the exhibit, what is the execution order of tasks in the Ansible playbook?
A. Task A > Task B
B. Task A > Task B > Task C
C. Task C > Task B
D. Task C > Task B > Task A
Click the Exhibit button. Exhibit:

Referring to the exhibit, which Python statement selects the
A. response.find("./uptime-information/user-table/user-entry/tty='pts/2'")
B. response.find("./uptime-information/user-table/[tty='pts/2']/user-entry")
C. response.find("../user-entry/[tty='pts/2']")
D. response.find("./uptime-information/user-table/user-entry@tty='pts/2'")
Click the Exhibit button. Exhibit:

Referring to the exhibit, what should
A. RpcError
B. ConnectError
C. PermissionError
D. CommitError
Using the RESTful API on a Junos device, you are able to retrieve configuration information in which three formats? (Choose three)
A. YAML
B. XML
C. plain text
D. GPB E. JSON