Posted by: Pdfprep
Post Date: May 18, 2021
Refer to the exhibit.
Which Python code snippet prints the descriptions of disabled interfaces only?
A . for interface in netconf data["GigabitEthernet“]:
if interface["enabled"] l= ‘false";
print(interface["description"])
B . for interface in netconf data["GigabitEthernet"’]:
if interface["enabled"] =’true":
print(interface["description"])
C . for interface in netconf_data["GigabitEthernet"]:
print(interface["enabled""])
print(interface["description"])
D . for interface in netconf data["GigabitEthernetT
if interface["enabled"] = ‘true":
print(interface["description"])
Answer: D
Leave a Reply