QuestionQ1
NETCONF/XML APIWhich port is the default for NETCONF connections over SSH?
- A 22
- B 830
- C 443
- D 8080
QuestionQ2
Data SerializationWhich of the following is a valid JSON object?
- A "hostname:vmx-1"
- B { "hostname": "vmx-1"}
- C ["vmx-1:172.25.11.1"]
- D {"vmx-1", "172.25.11.1"}
Community Discussion
QuestionQ3
Data SerializationWhat are two widely used methods for data serialization?
- A Python
- B JSON
- C SLAX
- D YAML
Community Discussion
QuestionQ4
Data SerializationAs part of an application that manages network devices, you must query hundreds of network devices and return the unique set of IP prefixes blocked by configured firewall filters. To complete this task, you need a mutable data type containing unordered, unique elements.
Which Python data type meets these requirements?
- A dictionaries
- B lists
- C tuples
- D sets
Community Discussion
QuestionQ5
Python/PyEZWhich Python code block is an example of using 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") ...

Community Discussion