What are two popular methods of data serialization? (Choose two.)
What are two popular methods of data serialization? (Choose two.)A . Python B. JSON C. SLAX D. YAMLView AnswerAnswer: A,D Explanation: Reference: https://docs.python-guide.org/scenarios/serialization/
In this scenario, which command will provide the information that you need?
You are asked to gather interface information from a Junos device. Your environment supports the JSON format. To determine how interface information is represented, you decide to view all of the configured interface key-value pairs in the current Junos candidate configuration. In this scenario, which command will provide the information...
What will determine which data serialization format is used for interfacing with a system?
What will determine which data serialization format is used for interfacing with a system?A . the system's API B. the operating system C. programming language version D. IDE specificationsView AnswerAnswer: C
In this scenario, which command would you use?
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.D18912E1457D5D1DDCBD40AB3BF70D5D In this scenario, which command would you use?A . curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation&format=text&interface-name=ge-0/0/0&terse=” B. curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/get-interfaceinformation@interfacename=ge-0/0/0?terse=” C. curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation@format=text&interface-name=ge-0/0/0?terse=”...
Which feature is used in XML to ensure that all attributes and elements have unique names?
Which feature is used in XML to ensure that all attributes and elements have unique names?A . selectors B. predicate C. namespace D. XPathView AnswerAnswer: D
Which Python code block is an example of a context manager?
Which Python code block is an example of a context manager?A . while True: device C Device(host-“vmx-1”, user-“lab”, passwd-“lab123”)... B. try: device C Device(host-“vmx-1”, user-“lab”, passwd-“lab123”)... except: print(“Unable to connect to the vMX1”) C. with Device(host=”vmx-1”, user=”lab”, passwd=”lab123”) as device:... D. for host in [“vmx-1”, “vmx-2”]: device C Device(host-host, user-“lab”,...
Which HTTP status code indicates a response to a successful request?
Which HTTP status code indicates a response to a successful request?A . 500 B. 302 C. 200 D. 400View AnswerAnswer: C Explanation: Reference: https://www.juniper.net/documentation/en_US/junos-spacesdk/13.1/apiref/com.juniper.junos_space.sdk.help/html/reference/Commonbehav.html
Which statement is correct about YAML?
Which statement is correct about YAML?A . YAML strings must have quotation marks. B. YAML is not case-sensitive. C. YAML files must start D. YAML uses spaces for indentationView AnswerAnswer: D
In Phython, my_list = [ 1, 2, 3] is an example of which type of operation?
In Phython, my_list = [ 1, 2, 3] is an example of which type of operation?A . Assignment B. Membership C. bitwise D. comparisonView AnswerAnswer: B
Referring to the exhibit, which statement is correct?
Exhibit. Referring to the exhibit, which statement is correct?A . The RPC execution output is saved to a file on the Ansible control machine B. The RPC execution output is not saved C. The RPC execution output is saved to a file on R1 D. The RPC execution output is...