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”,...

September 8, 2023 No Comments READ MORE +

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-space­sdk/13.1/apiref/com.juniper.junos_space.sdk.help/html/reference/Commonbehav.html

September 8, 2023 No Comments READ MORE +

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

September 8, 2023 No Comments READ MORE +

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

September 7, 2023 No Comments READ MORE +

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...

September 7, 2023 No Comments READ MORE +

Which two statements about Ansible are correct? (Choose two.)

Which two statements about Ansible are correct? (Choose two.)A . Ansible can use a single playbook to configure devices from multiple vendors. B. Ansible modules must be written in Go. C. Ansible is an open source project. D. Ansible requires a license to unlock full functionality.View AnswerAnswer: A,C

September 6, 2023 No Comments READ MORE +

Referring to the exhibit, which two statements about the script arc correct?

Exhibit. Referring to the exhibit, which two statements about the script arc correct? (Choose two.)A . The script prints the name of each configured interface. B. The script retrieves the interface configuration in XML C. The script prints interface information for each interface name. D. The script retrieves the interface...

September 6, 2023 No Comments READ MORE +

Which two statements are correct about Junose PyEZ Tables and Views? (Choose two.)

Which two statements are correct about Junose PyEZ Tables and Views? (Choose two.)A . PyEZ Tables and Views are defined using CSV. B. The Juniper_Junos_config module enables the use of PyEZ Tables and Views. C. The juniper_junos_table module enables the use of PyEZ Tables and Views. D. PyEZ Tables and...

September 6, 2023 No Comments READ MORE +

Which Python operator tests two variables to see if they contain the same value?

Which Python operator tests two variables to see if they contain the same value?A . != B. != = C. = = D. =View AnswerAnswer: C

September 5, 2023 No Comments READ MORE +

Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)

Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)A . Python B. Puppet C. Ansible D. XSLTView AnswerAnswer: A,D

September 4, 2023 No Comments READ MORE +