Click the Exhibit button.
Referring to the exhibit, this snippet of code would represent which type of data?
A. JSON object
B. JSON array
C. YAML sequence
D. YAML mapping
Which statement about element nodes is correct?
A. Only a single root element node is allowed
B. Element nodes only consist of a single line of code
C. Element nodes cannot be nested in other element nodes
D. Only the root element node can contain other element nodes
Click the Exhibit button.
>>> print(hardware_count)
{`MX960':10, `SRX300': 22, `QFX5100': 4}
Referring to the exhibit, what is the correct method to retrieve the value associated only with "MX960"?
A. hardware_count.keys()
B. hardware_count.values()
C. hardware_count[0]
D. hardware_count["MX960"]
You are using the curl tool to include multiple RPCs in a REST API request.
Which HTTP method must be used for this request?
A. GET
B. PUT
C. POST
D. HEAD
Click the Exhibit button.
Referring to the exhibit, which two statements are correct? (Choose two.)
A. The configuration will be retrieved in JSON format
B. The retrieved configuration will be from the Junos active configuration
C. The retrieved configuration will be from the Junos candidate configuration
D. The configuration will be retrieved in XML format
In Python, my_list = [1, 2, 3] is an example of which type of operation?
A. membership
B. comparison
C. assignment
D. bitwise
Which XML shorthand notation is used when no data exists between tags?
A.
B.
C.
D.
Which statement about using Ansible with a Junos device is correct?
A. Ansible modules are executed on the control server
B. SFTP must be used to allow communication between the Ansible control server and the Junos device
C. An Ansible agent must be installed and running on the Junos device
D. An Ansible playbook is a set of tasks written in XML
What is the purpose of an XSD file?
A. to define the allowed elements and hierarchy of an XML document
B. to define the scripting language of an XML document
C. to define the security and access permissions for an XML document
D. to define the shortcuts that can be used in an XML document
While conducting an automation test, you must issue a command using the curl tool to request the text formatted output from the show interfaces ge-0/0/0 terse command.
In this scenario, which command would you use?
A. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-informationandformat=textandinterfacename=ge-0/0/0andterse="
B. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@interface-name=ge0/0/0?terse="
C. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=textandinterfacename=ge-0/0/0?terse="
D. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=text?interfacename=ge-0/0/0andterse="