Click the Exhibit button.
Referring to the exhibit, which two code blocks are an equivalent representation in JSON? (Choose two.)
A. Option A
B. Option B
C. Option C
D. Option D
Which two statements are correct about Junos PyEZ Tables and Views? (Choose two.)
A. PyEZ Tables and Views are defined using YAML
B. The juniper_junos_config module enables the use of PyEZ Tables and Views
C. PyEZ Tables and Views are defined using CSV
D. The juniper_junos_table module enables the use of PyEZ Tables and Views
What are two popular methods of data serialization? (Choose two.)
A. Python
B. JSON
C. SLAX
D. YAML
As part of an application to manage network devices, you must query hundreds of network devices and return the unique set of IP prefixes blocked by configured firewall filters. To accomplish this task, you will require a mutable data type that contains unordered, unique elements.
Which Python data type will fulfill these requirements?
A. dictionaries
B. lists
C. tuples
D. sets
Which two statements about Ansible are true? (Choose two.)
A. Ansible modules only execute a change if required
B. By default, Ansible core modules use NETCONF to connect to the remote host
C. By default, Ansible playbooks are executed locally
D. Ansible uses an agentless architecture
Which Python code block is an example of a context manager?
A. while True: device – Device(host-“vmx-1”, user-“lab”, passwd-“lab123”) ...
B. try: device – 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 – Device(host-host, user-“lab”, passwd-“lab123”) ...
Click the Exhibit button.
Referring to the exhibit, where would the junos.conf file be found?
A. a directory on juniper_junos_config
B. a directory located on R1
C. a local directory on the Ansible control machine
D. a directory on the device list in inventory_hostname
Which HTTP status code indicates a response to a successful request?
A. 302
B. 400
C. 500
D. 200
Which character is used to separate multiple parameters in a single REST API call?
A. and
B. #
C. ?
D. =
Which code block shows valid YAML syntax?
A. Switches:
-s1
-s2
B. Switches: s1 s2
C. Switches: {s1, s2}
D. Switches: ["s1", "s2"]