ExamGecko
Question list
Search
Search

Related questions











Question 60 - 300-435 discussion

Report
Export

Refer to the exhibit.

A Python script is used to configure a Cisco IOS XE device. The script must be updated to print the IP addresses of all the loopback interfaces. Which statement should be added before the loop?

A.

interfaces = response.json()[“ietf-interfaces:interfaces”]

Answers
A.

interfaces = response.json()[“ietf-interfaces:interfaces”]

B.

interface = response.json()[“ietf-interfaces:interfaces”]

Answers
B.

interface = response.json()[“ietf-interfaces:interfaces”]

C.

interface = response.json()[“ietf-interfaces:interfaces”][“interface”]

Answers
C.

interface = response.json()[“ietf-interfaces:interfaces”][“interface”]

D.

interfaces = response.json()[“ietf-interfaces:interfaces”][“interface”]

Answers
D.

interfaces = response.json()[“ietf-interfaces:interfaces”][“interface”]

Suggested answer: A

Explanation:

Reference: https://blog.wimwauters.com/networkprogrammability/2020-04-04_restconf_python/

asked 07/10/2024
Josh Rose
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first