CCNP 350-401 ENCOR Question 361 DISCUSSION

  • 888 views
  • 2023-06-26
« Back to Main Menu

Refer to the exhibit. Which Python code snippet prints the descriptions of disabled interfaces only?

Q361

A. 
for interface in netconf_data["GigabitEthernet"]:
 if interfacef["enabled"] != 'true'
 print(interface["description"])

B. 
for interface in netconf_data["GigabitEthernet"]:
 if interfacef["enabled"] != 'true'
     print(interface["description"])

C. 
for interface in netconf_data["GigabitEthernet"]:
 if interfacef["enabled"] != 'false'
     print(interface["description"])

D. 
for interface in netconf_data["GigabitEthernet"]:
 print(interface["enable"])
 print(interface["description"])

Refer to the exhibit. Which Python code snippet prints the descriptions of disabled interfaces only?

Q361

A. 
for interface in netconf_data["GigabitEthernet"]:
 if interfacef["enabled"] != 'true'
 print(interface["description"])

B. 
for interface in netconf_data["GigabitEthernet"]:
 if interfacef["enabled"] != 'true'
     print(interface["description"])

C. 
for interface in netconf_data["GigabitEthernet"]:
 if interfacef["enabled"] != 'false'
     print(interface["description"])

D. 
for interface in netconf_data["GigabitEthernet"]:
 print(interface["enable"])
 print(interface["description"])

Correct Answer: B

Support AceITCert.com by buying stuff you need!

0 Comments

In order to participate in the comments you need to be logged-in.
You can sign-up or login (it's free).